Facebook
From Fulop Bernadett, 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 Re: Working with strings
class Program
{
    static void Main()
    {
        // function calls here
MyPresentation();
    }
   static void MyPresentation(){
    string favoriteVerse = @"  
      Yellow diamonds in the light
      Now we're standing side by side
      As your shadow crosses mine
      What it takes to come alive";
    string name = "Fulop Bernadett";
    string profile = "Informatics";
    string hobby = "Walking";
    DateTime birthDate = new DateTime(2003, 7, 18);
    Console.WriteLine("Favorite Music Verse:");
    Console.WriteLine(favoriteVerse);
    Console.WriteLine();
    Console.WriteLine($"Hello, my name is {name}!");
    Console.WriteLine($"Profile: {profile}");
    Console.WriteLine($"Hobby: {hobby}");
    Console.WriteLine($"Birth Date: {birthDate:MMMM dd, yyyy}");
  }
}