8.2.07

Milliseconds in C#

If you want to see how long it takes executing a function in .Net (C#), you can use either Millisecond function or format a DateTime object with "f"-"ffffff" pattern.
using System;
using System.Collections;

public class MyClass
{
public static void Main()
{
DateTime start;
String format1;
format1
= "HH:mm:ss.fff";
start
= DateTime.Now;

WL(
"ToLongTimeString and Millisecond " +
DateTime.Now.ToLongTimeString()
+ "." +
DateTime.Now.Millisecond);

WL(
"");
WL(start.ToString(format1));
WL(String.Format(
"{0:D}", DateTime.Now));
RL();
}

+
#region Helper methods

}

Nvidia's GauGan App

NVIDIA's GauGAN AI Machine Learning Tool creates photorealistic images from Simple Hand Doodling http://nvidia-research-mingyuliu.com/...