Facebook
From Orban Botond, 6 Months ago, written in C#.
This paste is a reply to Working with strings from Palma - view diff
Embed
Download Paste or View Raw
Hits: 161
  1. class Program
  2. {
  3.     static void Main()
  4.     {
  5.         BotondsPresentation();
  6.     }
  7.   static void BotondsPresentation (){
  8.         string favoriteMusicVerse = @"
  9.        Wish we could turn back time
  10.        To the good old days
  11.        When our mama sang us to sleep
  12.        But now we're stressed out";
  13.  
  14.         string firstName = "Orban";
  15.         string lastName = "Botond";
  16.         string name = firstName + " " + lastName;
  17.         string hobby = "Soccer, Music, Programming";
  18.         string profile = "Student";
  19.         string birthDate = "2002.12.17";
  20.  
  21.         Console.WriteLine($@"Name: {name}
  22. Profile: {profile}
  23. Hobby: {hobby}
  24. Birth Date: {birthDate}
  25. Favorite Music Verse:{favoriteMusicVerse}");
  26.     }
  27. }
  28. }
  29.