ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

Introductory C# web-based tutorials

<< < (16/17) > >>

kyrathaba:
This screen capture demo can now be found here.

kyrathaba:
One of these days I'm going to get around to doing a third C# tutorial series.

For today, though, I just thought I'd share this class I whipped up for a project I'm working on. It takes total milliseconds of elapsed time and converts it to a string description. There are two static methods in the class. One of them can return strings such as:

1.308 Days
2.059 Hours

The other will return descriptions like this from the total milliseconds:

2d 5h 18m 325ms

See the attachment.
--- End quote ---

I've fixed a bug, and re-uploaded this helper class.

kyrathaba:
For anyone interested, it's extremely simple, in C#, to determine whether your internet connection is "up" (connected) or "down" (not connected). I've done a C# project demonstrating:



download link

Redhat:
I just wanted to thank you for these tutorials Bryan, I'm working my way through and enjoying them a lot  8)

kyrathaba:
Excellent, Redhat! Let me know if you get stuck on anything.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version