Facebook
From Bús Gergő-Vince, 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 Bús Gergő-Vince
class Program
{
    static void Main()
    {
        // function calls here
string favoriteMusicVerse = @"
        With me on whiskey, and you on wine
        Getting Tennessee tipsy in the neon light
        Yeah, it's what we do, girl, it's kind of our thing
        A little jukebox dance and then a smoky dream
        We're as easy as you got your drink, I got mine
        But we got the same thing on our mind
        I guarantee best times tend to be
        With you on wine, and me on whiskey";

        string name = "Bús Gergő-Vince";
        string profile = "bus.gergo";
        string hobby = "Gaming";
        string BD = "15 Feb 2002";

        string myInfo = $@"
        Name: {name}
        Profile: {profile}
        Hobby: {hobby}
        Birth Date: {BD}";

        Console.WriteLine("----- My Presentation -----n");

        Console.WriteLine("Personal Information:");
        Console.WriteLine(myInfo);

        Console.WriteLine("nFavorite Music Verse:");
        Console.WriteLine(favoriteMusicVerse + "nn");
    }
}