.NET API Reference

Explore the vast .NET API surface. Filter by namespace or search for specific types, members, or keywords.

System Namespace

Contains fundamental classes and base types that define variously-mapped value types, events and event handlers, exceptions, and collections.

Classes

Object

The root of all types in the .NET Framework; the superclass of all types and the default implementation of equality, hash code generation, type conversion, and string representation.

String

Represents text as a sequence of code points. String objects are immutable, meaning their value cannot be changed after creation.

DateTime

Represents an instance of time. The value is a combination of a date and a time of day.

Exception

Serves as the base class for all exceptions in the .NET Framework.

Interfaces

IEnumerable

Represents an iterable collection in the .NET Framework.

System.Collections.Generic Namespace

Contains interfaces and classes that define generic collections, which allow developers to create collections that work with any type of object.

Classes

List<T>

Represents a strongly typed list of objects that can be accessed by index. Provides methods for manipulating the list.

Dictionary<TKey, TValue>

Represents a collection of key/value pairs that are sorted by key. Provides methods for searching, sorting, and managing the collection.

Queue<T>

Represents a collection of objects that are added to and removed from the ends, the same as a queue in computing.

System.IO Namespace

Implements various types that allow reading and writing to files and data streams, and provides types that support common file and directory operations.

Classes

File

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

Directory

Provides static methods for the creation, moving, and enumeration of directories and subdirectories.

StreamReader

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

AspNetCore.Http Namespace

Provides types for working with HTTP requests and responses in ASP.NET Core.

Classes

HttpContext

Represents the context of an HTTP request.

HttpRequest

Represents the incoming request message.

HttpResponse

Represents the outgoing response message.

View All Namespaces and Types