c# date
using System;
class Test {
static void Main() {
//print current datetime
Console.WriteLine (DateTime.Now.ToString());
//make a custom datetime
DateTime dt = new DateTime(2018, 7, 24);
Console.WriteLine (dt.ToString());
}
}
Also in C#:
- syntaxe switch c#
- c# authorize attribute
- c# pull request
- c# param exception
- replace all ponctuation characters c#
- asp.net core task iactionresult
- C# delegate
- c# is not equal to
- dynamically add rows to datagridview c#
- string format c#
- abstract class c#
- c# expandoobject indexer
- unity rotate vector
- print line in python
- change Backcolor c#
- unity get decimal part of float
- unity multiplayer
- MVC creating a counter for products
- c# making a folder
- degree between two points latitude longitude c#
- c# convert excel column index to letter
- go to next itiration in foreach C#
- c# thread sleep
- c# constructor