Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Compare dates c#
//Title of this code //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; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here DateTime date1 = new DateTime(2009, 8, 1, 0, 0, 0); DateTime date2 = new DateTime(2015, 8, 1, 12, 0, 0); DateTime dt = new DateTime(2014, 07, 19); Console.WriteLine("Compare: " + date2.CompareTo(DateTime.Now.AddDays(0))); Console.WriteLine("Hello, world!"); } } }
run
|
edit
|
history
|
help
0
Abstract Class
ch.murali krishna
Int to 4 bytes
Sri 19 Sept
Listiteration
LCM Q 3
IComparable extensions: Between
test
Aufgabe 1 J.S.
Luhn Formula Demo C#