.NET API Reference

Welcome to the .NET API Documentation

This portal provides comprehensive documentation for the .NET Framework and .NET Core (now unified as .NET). Explore namespaces, classes, methods, properties, and more to build powerful applications.

Use the navigation pane on the left to browse through the API hierarchy, or use the search bar to quickly find specific types or members.

System Namespace

Provides fundamental classes and base types that define commonly used value and reference data types, events and event handlers, exceptions, and converters.

System.Collections Namespace

Contains interfaces and classes that define collections of objects, such as lists, queues, hash tables, and dictionaries.

System.Collections.Generic Namespace

Contains interfaces and classes that define generic collections, which allow developers to create strongly typed collections that improve type safety and performance.

List<T> public class List<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable

Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.

Type: Class

Dictionary<TKey, TValue> public class Dictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IDictionary, ICollection, IEnumerable

Represents a collection of key/value pairs that are organized by key. Provides efficient lookup by key.

Type: Class

System.IO Namespace

Contains types for reading and writing files and data streams, and for the .NET infrastructure that supports these capabilities.

File public static class File

Provides static methods for the creation, copying, deletion, moving, and opening of files.

Type: Class

StreamReader public class StreamReader : TextReader

Implements a TextReader that reads characters from a byte stream in a particular encoding.

Type: Class

System.Linq Namespace

Provides classes and interfaces that support LINQ (Language Integrated Query), enabling you to write code that looks like declarative queries in a variety of data sources.

Enumerable public static class Enumerable

Provides extension methods for the IEnumerable<T> interface to support LINQ queries.

Type: Class

Microsoft Namespace

Contains types and namespaces developed by Microsoft for various .NET technologies.

Microsoft.Extensions.DependencyInjection Namespace

Provides types for configuring and managing dependency injection services.

ServiceCollection public class ServiceCollection : IServiceCollection

A collection of service descriptors used to configure an IServiceProvider.

Type: Class