Facebook
From Bús Gergő-Vince, 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: 157
  1. class Program
  2. {
  3.     static void Main()
  4.     {
  5.         string favoriteMusicVerse = @"
  6.        With me on whiskey, and you on wine
  7.        Getting Tennessee tipsy in the neon light
  8.        Yeah, it's what we do, girl, it's kind of our thing
  9.        A little jukebox dance and then a smoky dream
  10.        We're as easy as you got your drink, I got mine
  11.        But we got the same thing on our mind
  12.        I guarantee best times tend to be
  13.        With you on wine, and me on whiskey";
  14.  
  15.         string name = "Bús Gergő-Vince";
  16.         string profile = "bus.gergo";
  17.         string hobby = "Gaming";
  18.         string BD = "15 Feb 2002";
  19.  
  20.         string myInfo = $@"
  21.        Name: {name}
  22.        Profile: {profile}
  23.        Hobby: {hobby}
  24.        Birth Date: {BD}";
  25.  
  26.         Console.WriteLine("----- My Presentation -----n");
  27.  
  28.         Console.WriteLine("Personal Information:");
  29.         Console.WriteLine(myInfo);
  30.  
  31.         Console.WriteLine("nFavorite Music Verse:");
  32.         Console.WriteLine(favoriteMusicVerse + "nn");
  33.     }
  34. }
  35.