Created
December 19, 2019 10:26
-
-
Save 0x414c49/256f45313fde95748c542d645122c769 to your computer and use it in GitHub Desktop.
C# Scripting sample1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
var today = DateTime.Now.ToString(); | |
var message = $"Hello World, This file is created at {today}"; | |
// Some fancy comment here | |
class Foo | |
{ | |
public void Bar() | |
{ | |
Console.WriteLine("Hello World!"); | |
} | |
} | |
var obj = new Foo(); | |
obj.Bar(); | |
Console.WriteLine(message); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment