Facebook
From Zsombor, 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 Re: Working with strings
using System;

class Program
{
    
MySelf{

    static string firstName = "Csegezi";
    static string lastName = "Zsombor";
    static string birthDate = "2002.02.22";
    static string profile = "computer science";
    static string hobby = "football";

    
static void Main()
    {
        // function calls here
    }
}
Main(){
        Console.WriteLine($"Hi! My name is {firstName} {lastName}.");
        Console.WriteLine($"I was born in {birthDate}.");
        Console.WriteLine($"I am learning {profile} and my main hobby is playing {hobby}");
        Console.WriteLine($"My favorit verse from a music song is:");
        Console.WriteLine($"I would've stayed at home");
        Console.WriteLine($"'Cause I was doin' better alone");
        Console.WriteLine($"But when you said, Hello");
        Console.WriteLine($"I know that was the end of it all");
        Console.WriteLine($"I should've stayed at home");
        Console.WriteLine($"'Cause now there ain't no letting you go");
    }


}