Facebook
From Gal Kristof Gabor, 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: 148
  1. //Meghivas:
  2. Week2_4.Presentation();
  3.  
  4. //function:
  5. class Week2_4
  6. {
  7.     public static void Presentation()
  8.     {
  9.         string FaveMusic = @"Could I interest you in everything?
  10. All of the time?
  11. A little bit of everything
  12. All of the time
  13. Apathy's a tragedy
  14. And boredom is a crime
  15. Anything and everythingv
  16. All of the time";
  17.         string FirstName = "Gal";
  18.         string LastName = "Kristof Gabor";
  19.         string name = $"My full name is: {FirstName} {LastName}";
  20.         string profile = "Informatics, Software Developing";
  21.         string hobby = "Gaming, programming and going out with friends";
  22.         string BirthDate = "2003, November, 19th";
  23.         string AboutMyself = $"{name}, I was born in {BirthDate}, I am currently learning {profile} and my main hobbies are: {hobby}";
  24.         Console.WriteLine($"My favorite music is 'Welcome to the internet' By Bo Burnham, here is a vers from it: n {FaveMusic}");
  25.         Console.WriteLine($"n{AboutMyself}");
  26.     }
  27. }