摘要:
using System.Timers; static void Main(string[] args) { ThreadingTimer(); DateTime a = DateTime.Now; Thread.Sleep(1000); DateTime b = DateTime.Now; TimeSpan test = b - a; Console.ReadKey(); } static voi... 阅读全文
posted @ 2013-11-15 10:58
邃蓝星空
阅读(250)
评论(0)
推荐(0)
摘要:
下面是C#计算方法: class Program { const double EARTH_RADIUS = 6378.137; static void Main(string[] args) { double test = GetDistance(119.460594, 32.210855, 119.460594 + 0.011657, 32.210855 + 0.0042); Console.ReadKey(); } static... 阅读全文
posted @ 2013-11-15 10:56
邃蓝星空
阅读(841)
评论(0)
推荐(0)

浙公网安备 33010602011771号