.NET Framework Tutorials

Overview of .NET Framework Specialized Collections

29 May 2009
8278 Views

Collections are classes that programmers use to group and manage related objects just like Arrays. However unlike Arrays collections are dynamically resizable objects which means they automatically grow and shrink as you add, insert or remove objects and you don’t need to worry about its size. In this Tutorial I will give you overview of some of the specialized collections available in System.Collections.Specialized namespace.

Convert .NET data types using Parse and TryParse

01 April 2008
19085 Views

All base types in .NET Framework offer Parse method which is used to convert string value to different types. For example, you can convert string into int, double, short, float, boolean etc. Parse methods are very useful because programmers don’t need to write any of their own conversion routines for common input scenarios. However, these methods also have some problems which programmers must need to keep in mind when they are writing their code which is using Parse methods


Getting Windows installed fonts using .NET

21 March 2008
5280 Views

.NET Framework 2.0 namespaces System.Drawing and System.Drawing.Text contains many useful classes related to Drawing manipulation. These classes deals with fonts, fonts families, colors, images and bitmaps and can be used to add drawing related features in your .NET applications. One of the common task developers needs to perform in day to day .NET applications is to get the list of installed fonts in Windows operating system.
Getting Windows installed fonts using .NET

Using DriveInfo class in .NET 2.0

02 March 2008
6833 Views

One of the most common task developers perform in everyday programming is to Working with the file system. This task includes navigating drives, folders and files and get some useful information for the front end application. System.IO namespace in .NET Framework 2.0 provides many classes to work with the file system. One of the class is DriveInfo class. This class represents a drive in the file system.

Application Domain in .NET Framework 2.0

02 March 2008
10469 Views

.NET Developers often need to run an external assembly. However, running an external assembly can be a risky operation as developers have no guarantee that whether that external assembly will execute without any security breaches or not. Inefficient resource usage such as printers or file system from external assemblies can also create problems for applications. In .NET Framework Microsoft provides excellent solution to solve this problem in the form of “Application Domain”.
Application Domain in .NET Framework 2.0