hogni89 hogni89 - 1 year ago 92
C# Question

'TotalMilliseconds' in .NET Micro Framework

I'm a Java developer and recently started on a Netduino hobby project. I have encountered a strange problem. My compiler tells me that there is no such thing as


Is it true, that TotalMilliseconds is something only the desktop version of .NET contains?

Answer Source

It doesn't exist in the .NET Micro Framework. Use this instead:

double totalMilliseconds = theTimeSpan.Ticks / 10000.0;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download