Facebook
From Dezső Szabolcs, 1 Year ago, written in C#.
This paste is a reply to Re: Working with strings from Dezső Szabolcs - go back
Embed
Viewing differences between Re: Working with strings and Re: Re: Working with strings
class Program
{
    static void Main()
    {
        SzabiPersonalInfomations("Szabi", 20, "Informatics", new DateTime(2003, 06, 21), "programming");
    }
  
   
   static void SzabiPersonalInfomations(string name = "Szabi", int age = 20, string profile = "Informatics", DateTime birth = new(), string hobby = "programming") {
        Console.WriteLine($"My name is {name}.");
        Console.WriteLine($"I'm {age} years old.");
        Console.WriteLine($"I'm studying {profile}.");
        Console.WriteLine($"I was born in {{{birth.Year} - {birth.Month} - {birth.Day}}}.");
        Console.WriteLine($"My hobby is {hobby}.");
    }
}

Replies to Re: Re: Working with strings rss

Title Name Language When
Re: Re: Re: Working with strings Dezső Szabolcs csharp 1 Year ago.