Programming Basics Namespaces in Visual Studio
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Programming Basics Namespaces in Visual Studio 

The fundamental programming namespaces in the .NET Framework include:

  • System.Collections - contains interfaces and classes that define various collections of objects, such as lists, queues, arrays, hashtables, and dictionaries.

  • System.Collections.Generic - contains interfaces and classes that define generic collections, which allow users to create strongly typed collections that provide better type safety and performance than non-generic strongly typed collections.

  • System.IO - contains types that allow synchronous and asynchronous reading and writing on data streams and files.

  • System.Text - contains classes representing ASCII, Unicode, UTF-7, and UTF-8 character encodings; abstract base classes for converting blocks of characters to and from blocks of bytes; and a helper class that manipulates and formats String objects without creating intermediate instances of String.

  • System.Threading - provides classes and interfaces that enable multithreaded programming. This namespace includes a ThreadPool class that manages groups of threads, a Timer class that enables a delegate to be called after a specified amount of time, and a Mutex class for synchronizing mutually exclusive threads. System.Threading also provides classes for thread scheduling and wait notification.

Related Sections

Walkthrough: Authoring a Simple Multithreaded Component with Visual Basic

Provides step-by-step instructions that include how to use the System.Threading.Thread object to add multiple threads of execution to your component.

Creating File System and Timer Components

Introduces components that respond to changes to files and directories, raise events on a schedule, or monitor and interact with Windows processes.

Processing Drives, Folders, and Files(Visual Basic)

Lists topics that discuss using the System.IO namespace in Visual Basic.

Introduction to the .NET Framework Class Library in Visual Studio

Provides an overview of the namespaces in the .NET Framework.

Generics (C# Programming Guide)

Describes the usage and usefulness of generic types.

Working with I/O

Provides information about I/O.


Provides information about threading.

See Also

© 2015 Microsoft