예제 #1
0
        /// <summary>
        /// Creates a new WarpWatch, starts it, and returns the current instance
        /// </summary>
        public static WarpWatch StartNew()
        {
            WarpWatch watch = new WarpWatch();

            watch.Start();
            return(watch);
        }
예제 #2
0
 /// <summary>
 /// Creates a new WarpWatch, starts it, and returns the current instance
 /// </summary>
 public static WarpWatch StartNew()
 {
     WarpWatch watch = new WarpWatch();
     watch.Start();
     return watch;
 }