Base Class Library FAQ
-
terça-feira, 14 de abril de 2009 08:48
There’s already a BCL FAQ on MSDN,
http://msdn.microsoft.com/en-us/netframework/aa569605.aspx
This document is a supplement to the FAQ.
1. How do I compare two DateTime objects?
2. How do I handle dates and times that include DST?
3. What’s the difference between (int), Int32.Parse and Convert.ToInt32?
4. How do I convert a hexadecimal string to decimal/long?
5. What is the equivalent function in C# for the function IsDate in VB?
6. How do I get the maximum path/directory length?
7. How do I convert a string to an int, double, etc.?
8. How do I use the SerialPort Class for simple serial communications?
9. How do I check whether a file is in use?
10. How do I start another program from .NET?
11. How do I make sure that only one instance of my application runs at a time?
12. Does .NET have any compression/zipping capabilities?
13. How do I retrieve assembly attributes at runtime?
14. How do I create an instance of a type if I only know its name?
15. How do I link a delegate to an event using Reflection?
16. How do I listen to changes in a file/directory in the windows file system?
17. How do I convert a long path to a short path?
18. How do I convert an Enumeration member to a string?
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Todas as Respostas
-
segunda-feira, 4 de janeiro de 2010 12:14Nice one.
Thanks Dear Xiaoyun Li
Regard's Rakesh Sharma (All is Well) -
domingo, 11 de julho de 2010 12:55
Very nice.
-
quarta-feira, 29 de setembro de 2010 12:10excellent.
-
quarta-feira, 29 de dezembro de 2010 06:19Thank you - this is helpful.

