Facebook
From Tőtős Armand, 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: 158
  1. class Program
  2. {
  3.     static void Main()
  4.     {
  5.         ArmandsPresentation()
  6.     }
  7.   static void ArmandsPresentation()
  8.         {
  9.             String music = @"Will you hold the line
  10. When every one of them has given up and given in? Tell me
  11. In this house of mine
  12. Nothing ever comes without a consequence or cost, tell me
  13. Will the stars align?
  14. Will heaven step in? Will it save us from our sin, will it?
  15. 'Cause this house of mine stands strong";
  16.  
  17.             string name = "Armand";
  18.             string profile = "Informatics";
  19.             string hobby = "Games";
  20.             string birthDate = "2003/03/01";
  21.             string myself = $"tName: {name}ntProfile: {profile}ntHobby: {hobby}ntBirth Date: {birthDate}";
  22.  
  23.             Console.WriteLine("n=== Armand's Presentation ===n");
  24.             Console.WriteLine("Favorite Music Verse:n");
  25.             Console.WriteLine($"{music}n");
  26.  
  27.             Console.WriteLine("About Me:");
  28.             Console.WriteLine(myself);
  29.         }
  30. }
  31.