Facebook
From Tőtős Armand, 1 Year ago, written in C#.
This paste is a reply to Working with strings from Palma - go back
Embed
Viewing differences between Working with strings and Armand
class Program
{
    static void Main()
    {
        // function calls here
ArmandsPresentation()
    }
  static void ArmandsPresentation()
        {
            String music = @"Will you hold the line
When every one of them has given up and given in? Tell me
In this house of mine
Nothing ever comes without a consequence or cost, tell me
Will the stars align?
Will heaven step in? Will it save us from our sin, will it?
'Cause this house of mine stands strong";

            string name = "Armand";
            string profile = "Informatics";
            string hobby = "Games";
            string birthDate = "2003/03/01";
            string myself = $"tName: {name}ntProfile: {profile}ntHobby: {hobby}ntBirth Date: {birthDate}";

            Console.WriteLine("n=== Armand's Presentation ===n");
            Console.WriteLine("Favorite Music Verse:n");
            Console.WriteLine($"{music}n");

            Console.WriteLine("About Me:");
            Console.WriteLine(myself);
        }
}