Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Date format display
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading; using System.Globalization; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here var dCur = DateTime.Now; Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US"); Console.WriteLine(dCur.ToShortDateString() + " for " + Thread.CurrentThread.CurrentCulture.Name); Thread.CurrentThread.CurrentCulture = new CultureInfo("en-CA"); Console.WriteLine(dCur.ToShortDateString() + " for " + Thread.CurrentThread.CurrentCulture.Name); Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-CA"); Console.WriteLine(dCur.ToShortDateString() + " for " + Thread.CurrentThread.CurrentCulture.Name); } } }
run
|
edit
|
history
|
help
0
Program to print pyramid using numbers
ds
Uri builder
Fortnite Generator
Nested Namespace
Game 1.0.4
Create HardwareConfigs
UINT32toHEX
LINQ-Group BY
Linq join to tables