usingSystem;namespaceCodeaft{classProgram{publicstaticvoidMain(strings){Console.WriteLine("Welcome to "+s);}publicstaticvoidMain(string[]args){Console.WriteLine("Hello, World!");Main("Codeaft");}}}
Output
codeaft@codeaft:~/csharp$ dotnet run
Hello, World!
Welcome to Codeaft
codeaft@codeaft:~/csharp$
Dear User, Thank you for visitng Codeaft. If you are interested in technical articles, latest technologies, and our journey further, please follow us on LinkedIn.