String.Format- a comma in each thousand
I have tried to Convert.ToString to convert int into a format a comma in each thousand. I am not successfully. Well, because I went to a wrong way. I shoulduse String.Format. Just like this
Display the int in thousand format(e.g. 1,200)
String.Format("{0:N0}",i);
Network Tester
This afternoon, I was practicing Socket Programming in C#. That is the reason I wrote this program.
http://www.itblogs.info/download/NetworkTester.zip
This program can check whether the port of IP address is opened.
Note that, that is only a toy to practice C#.
How to open a url from winform LinkLabel.
That is easy!
In Click of LinkLabel:
System.Diagnostics.Process.Start("http://www.itblogs.info/");
Then .Net Runtime will call your default browser.
Same Look and Feel across various platforms
I am developing some personal software and use a number of operation systems, such as Linux, Windows XP & Vista and Windows Mobile. Yeah, the first name is hit on my head, Java. The virtual machine of Java can run various platform too and they has very very similar Look and Feel across various platforms. But my major language is C# at this moment. My solution is wvWidget. This a C++ GUI API library and can run in Win32, MacOS, Linux and WinCE(Windows Mobile). Moreover, it has a .Net Library. So I can develop the application via this library.
