Facebook
From Mozes Kristof, 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: 167
  1. class Presentation
  2. {
  3.     public static void KrisotfPresentation()
  4.     {
  5.         string songVers = @"
  6.        Where are you at?
  7.        Where have you been?
  8.        Where are we headed?
  9.        What did you mean?
  10.        A bird, a butterfly and my red scarf
  11.        Don't make a mess of memories
  12.        Just let me heal your scars
  13.        The wall, the owl, and forgotten wharf
  14.        We're getting older
  15.        Second, by second, by second";
  16.  
  17.         string name = @"Mozes Kristof";
  18.         string profile = "Student";
  19.         string hobby = "Reading, drawing";
  20.         string birthDate = "2003 May 18";
  21.  
  22.         Console.WriteLine("Favorite song:");
  23.         Console.WriteLine(songVers);
  24.         Console.WriteLine();
  25.         Console.WriteLine("Hello");
  26.         Console.WriteLine($"My name is : {name}");
  27.         Console.WriteLine($"Hobbys: {hobby}");
  28.         Console.WriteLine($"Profile: {profile}");
  29.         Console.WriteLine($"Birth Date: {birthDate}");
  30.     }
  31. }
  32.  
  33. class Program
  34. {
  35.     static void Main()
  36.     {
  37.        Presentation.KrisotfPresentation();
  38.         // function calls here
  39.     }
  40. }
  41.