13.07.2015 Views

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>C#</strong> LANGUAGE SPECIFICATION{}public const int Infinite = -1;// Namespace: System.Threading, Library: BCLpublic sealed class Timer: MarshalByRefObject, IDisposable{public Timer(TimerCallback callback, object state, int dueTime, int period);public Timer(TimerCallback callback, object state, TimeSpan dueTime,TimeSpan period);public bool Change(int dueTime, int period);public bool Change(TimeSpan dueTime, TimeSpan period);public void Dispose();public bool Dispose(WaitHandle notifyObject);~Timer();}// Namespace: System.Threading, Library: BCLpublic delegate void TimerCallback(object state);// Namespace: System, Library: BCLpublic struct TimeSpan: IComparable{public TimeSpan(long ticks);public TimeSpan(int hours, int minutes, int seconds);public TimeSpan(int days, int hours, int minutes, int seconds);public TimeSpan(int days, int hours, int minutes, int seconds, intmilliseconds);public static readonly TimeSpan MaxValue;public static readonly TimeSpan MinValue;public const long TicksPerDay = 864000000000;public const long TicksPerHour = 36000000000;public const long TicksPerMillisecond = 10000;public const long TicksPerMinute = 600000000;public const long TicksPerSecond = 10000000;public static readonly TimeSpan Zero;public TimeSpan Add(TimeSpan ts);public static int Compare(TimeSpan t1, TimeSpan t2);public int CompareTo(object value);public TimeSpan Duration();public override bool Equals(object value);public static bool Equals(TimeSpan t1, TimeSpan t2);public static TimeSpan FromDays(double value);public static TimeSpan FromHours(double value);426

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!