Facebook
From Zoltán Török, 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 StringHomeW
namespace Name{
    
class Program
{
    
Information{
        private static string Name = "Zoltan";
        private static string BirthDate= "03/02/2000";
        private static string Hobby = "Reading";

        public 
static void Main()
    {
        // function calls here
MyPresentation(){
            string Profile = $"Name: {Name}\nBirth Date: {BirthDate}\nFavourite Hobby: {Hobby}";
            Console.WriteLine(Profile);
        } 
    }
    class MainClass{
        static void MySong(){
            string Song = @"
        Come join the murder
        Come fly with black
        We'll give you freedom
        From the human trap
        Come join the murder
        Soar on my wings
        You'll touch the hand of God
        And He'll make you king
        And He'll make you king";
            Console.WriteLine(Song);
        }
        

        static void Main(){

            Information.MyPresentation();
            Console.WriteLine("\nVerse:");
            MySong();
        }
    
}
}