public class D4C4N
{
public string Username { get; set; } = "D4C4N";
public string Name { get; } = "Daniel";
public string[] Nicknames { get; } = { "D4", "Daniel", "Dan" };
public string FieldOfStudy { get; } = "Applied Computer Science";
public string[] Interests { get; } = { "cats", "gaming", "music", "guitar" };
public bool IsAlive { get; set; } = true;
public int? Age { get; set; } = 26;
public List<string> TechStack { get; } = new List<string>
{
"C", "C#", "React", "HTML", "CSS", "JavaScript"
};
public string FavoriteLanguage => TechStack.Contains("C#") ? "C#" : TechStack[0];
public string Email { get; } = "[email protected]";
public void Introduce()
{
Console.WriteLine("๐ Hey there, I'm " + Username);
Console.WriteLine("You can call me: " + string.Join(", ", Nicknames));
Console.WriteLine($"๐ I'm currently studying: {FieldOfStudy}");
Console.WriteLine("๐ฎ Outside of coding, I'm into: " + string.Join(", ", Interests));
Console.WriteLine("๐ Tech stack: " + string.Join(", ", TechStack));
Console.WriteLine("๐ Reach me at: " + Email);
}
}
๐
Highlights
- Pro
Popular repositories Loading
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.