.NET API Documentation

Welcome to the .NET API Browser

This browser provides comprehensive documentation for the .NET Framework and .NET Core libraries. You can navigate through namespaces, classes, and other API members to understand their functionality, discover available methods, properties, and events.

Use the navigation panel on the left to explore the different API categories or search for specific types and members.

Quick Links

Recently Updated

HttpClient.SendAsync Method Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)

Sends an HTTP request to the specified Uri as an asynchronous operation.

Parameters:
  • request: The HTTP request message to send.
  • cancellationToken: A cancellation token to cancel the operation.
Returns: A task object representing the asynchronous operation. The Result property of the task object contains the HttpResponseMessage.
List<T> Class class List<T> : IList<T>, ICollection<T>, IEnumerable<T>, ...

Represents a strongly typed list of objects that can be accessed by index. Provides methods for creating, searching, and sorting lists.

Featured API

LINQ (Language Integrated Query) namespace System.Linq

LINQ provides powerful query capabilities directly into C# and Visual Basic. It allows you to write queries against collections of objects, databases, XML documents, and more, in a consistent and declarative way.

Key features include:

  • Query syntax and method syntax.
  • Standard query operators like Where, Select, OrderBy, GroupBy.
  • Deferred execution.

var numbers = new int[] { 1, 2, 3, 4, 5, 6 };
var evenNumbers = numbers.Where(n => n % 2 == 0);

foreach (var num in evenNumbers)
{
    Console.WriteLine(num); // Output: 2, 4, 6
}