.NET Framework Bookmark and Share   
 index > .NET Base Class Library > Base Class Library FAQ
 

Base Class Library FAQ

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.
Xiaoyun Li �MSFT

You can use google to search for other answers

Google
Custom Search

More Threads

• Hosting .NET controls in Win32 created unmanaged windows
• IStream.Read documentation
• Performance Counter values showing zero value for many counters
• Accessing Security event log data
• Loadfrom and CreateInstance failed in Beta2
• How to access dll or .net code files from javascript
• .sql files in Class Library
• DNA to .NET question
• How to tell if a specific CultureInfo designates time with post meridiem or "military time?"
• Math Formulas shown on screen.
Home          Copyright 2009-2010 by netframeworkdev.com All rights reserved