Facebook
From Kádár Ákos-Gergő, 1 Year ago, written in C#.
This paste is a reply to Working with strings from Palma - go back
Embed
Viewing differences between Working with strings and Akos
class Program
{
    static void Main()
    {
        // function calls here\n        
    }
  public static void AkosPresentation(){
        string[] @hobbies = {"football", "watching Formula 1", "listening to music"};
        Console.WriteLine("En nem fuggok toled, te fuggsz rajtam");
        Console.WriteLine($"My name is AkosnMy nickname is 'Gerii'nI'm 20 years old");
        Console.Write("My hobbies are: ");
        for(int i = 0; i < @hobbies.Length; i++){
            Console.Write(@hobbies[i]);
            if(i < @hobbies.Length - 1){
                Console.Write(", ");
            }
        }
        DateTime BirthDate = new DateTime(2003,10,10);
        Console.WriteLine($"nMy birthdate is: {BirthDate:yyyy/MMM/dd}");

    }
}