CSharp examples for System:DateTime Second
Get Total Nanoseconds
using System;/*from w ww. j av a 2s. co m*/ public class Main{ /// <summary> /// /// </summary> /// <param name="DateTime"></param> /// <returns></returns> public static long GetTotalNanoseconds(this DateTime DateTime) { return DateTime.Ticks * 10; } }