CINXE.COM

List.ConvertAll(Converter) Method (System.Collections.Generic) | Microsoft Learn

<!DOCTYPE html><html class="hasSidebar hasPageActions hasBreadcrumb reference reference has-default-focus theme-light" lang="en-us" dir="ltr" data-authenticated="false" data-auth-status-determined="false" data-target="docs" x-ms-format-detection="none"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta property="og:title" content="List<T>.ConvertAll<TOutput>(Converter<T,TOutput>) Method (System.Collections.Generic)" /> <meta property="og:type" content="website" /> <meta property="og:url" content="https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1.convertall?view=net-9.0" /><meta property="og:description" content="Converts the elements in the current List&lt;T&gt; to another type, and returns a list containing the converted elements. " /><meta property="og:image" content="https://learn.microsoft.com/en-us/media/open-graph-image.png" /> <meta property="og:image:alt" content="Microsoft Learn" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:site" content="@MicrosoftLearn" /> <meta name="color-scheme" content="light dark"><meta name="APILocation" content="mscorlib.dll" /> <meta name="APILocation" content="netstandard.dll" /> <meta name="APILocation" content="System.Collections.dll" /> <meta name="APIName" content="System.Collections.Generic.List`1.ConvertAll" /> <meta name="APIType" content="Assembly" /> <meta name="apiPlatform" content="dotnet" /> <meta name="author" content="dotnet-bot" /> <meta name="breadcrumb_path" content="/dotnet/breadcrumb/toc.json" /> <meta name="default_moniker" content="net-9.0" /> <meta name="depot_name" content="VS.dotnet-api-docs" /> <meta name="description" content="Converts the elements in the current List&amp;lt;T&amp;gt; to another type, and returns a list containing the converted elements. " /> <meta name="document_id" content="b6a20e31-d752-12f9-08a6-306bc3984a09" /> <meta name="document_version_independent_id" content="ed242ccd-ff69-7ec8-0bf6-c89f1e903924" /> <meta name="feedback_help_link_type" content="get-help-at-qna" /> <meta name="feedback_help_link_url" content="https://learn.microsoft.com/answers/tags/97/dotnet" /> <meta name="feedback_product_url" content="https://aka.ms/feedback/report?space=61" /> <meta name="feedback_system" content="OpenSource" /> <meta name="git_commit_id" content="03377c1bbfcc6d628c449affe99bc44c97198a6f" /> <meta name="gitcommit" content="https://github.com/dotnet/dotnet-api-docs/blob/03377c1bbfcc6d628c449affe99bc44c97198a6f/xml/System.Collections.Generic/List`1.xml" /> <meta name="locale" content="en-us" /> <meta name="monikers" content="net-5.0" /> <meta name="monikers" content="net-6.0" /> <meta name="monikers" content="net-7.0" /> <meta name="monikers" content="net-8.0" /> <meta name="monikers" content="net-9.0" /> <meta name="monikers" content="netcore-2.0" /> <meta name="monikers" content="netcore-2.1" /> <meta name="monikers" content="netcore-2.2" /> <meta name="monikers" content="netcore-3.0" /> <meta name="monikers" content="netcore-3.1" /> <meta name="monikers" content="netframework-2.0" /> <meta name="monikers" content="netframework-3.0" /> <meta name="monikers" content="netframework-3.5" /> <meta name="monikers" content="netframework-4.0" /> <meta name="monikers" content="netframework-4.5" /> <meta name="monikers" content="netframework-4.5.1" /> <meta name="monikers" content="netframework-4.5.2" /> <meta name="monikers" content="netframework-4.6" /> <meta name="monikers" content="netframework-4.6.1" /> <meta name="monikers" content="netframework-4.6.2" /> <meta name="monikers" content="netframework-4.7" /> <meta name="monikers" content="netframework-4.7.1" /> <meta name="monikers" content="netframework-4.7.2" /> <meta name="monikers" content="netframework-4.8" /> <meta name="monikers" content="netframework-4.8.1" /> <meta name="monikers" content="netstandard-2.0" /> <meta name="monikers" content="netstandard-2.1" /> <meta name="ms.assetid" content="System.Collections.Generic.List`1.ConvertAll*" /> <meta name="ms.author" content="dotnetcontent" /> <meta name="ms.date" content="05/16/2023" /> <meta name="ms.service" content="dotnet-api" /> <meta name="ms.subservice" content="system.collections" /> <meta name="ms.topic" content="reference" /> <meta name="namespace" content="System.Collections.Generic" /> <meta name="original_content_git_url" content="https://github.com/dotnet/dotnet-api-docs/blob/live/xml/System.Collections.Generic/List`1.xml" /> <meta name="page_kind" content="method" /> <meta name="page_type" content="dotnet" /> <meta name="products" content="https://authoring-docs-microsoft.poolparty.biz/devrel/7696cda6-0510-47f6-8302-71bb5d2e28cf" /> <meta name="recommendations" content="true" /> <meta name="schema" content="NetMember" /> <meta name="search.mshattr.devlang" content="csharp vb fsharp cpp" /> <meta name="show_latex" content="true" /> <meta name="site_name" content="Docs" /> <meta name="toc_rel" content="_splitted/system.collections.generic/toc.json" /> <meta name="TopicType" content="apiref" /> <meta name="uhfHeaderId" content="MSDocsHeader-DotNet" /> <meta name="uid" content="System.Collections.Generic.List`1.ConvertAll*" /> <meta name="updated_at" content="2025-01-08 10:40 AM" /> <meta name="persistent_id" content="7d529aef-6fe9-be12-2cdc-1e0d5a7bb82b" /> <meta name="platform_id" content="7d529aef-6fe9-be12-2cdc-1e0d5a7bb82b" /> <meta name="cmProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/7696cda6-0510-47f6-8302-71bb5d2e28cf" data-source="generated" /> <meta name="spProducts" content="https://authoring-docs-microsoft.poolparty.biz/devrel/69c76c32-967e-4c65-b89a-74cc527db725" data-source="generated" /> <meta name="scope" content=".NET" /><meta name="github_feedback_content_git_url" content="https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Collections.Generic/List`1.xml" /><link href="https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1.convertall?view=net-9.0" rel="canonical"><title>List<T>.ConvertAll<TOutput>(Converter<T,TOutput>) Method (System.Collections.Generic) | Microsoft Learn</title><link rel="stylesheet" href="/static/assets/0.4.029766321/styles/site-ltr.css"> <script id="msdocs-script"> var msDocs = {environment: { supportLevel: 'production', accessLevel: 'online', reviewFeatures: false, systemContent: true, azurePortalHostname: 'portal.azure.com', legacyHosting: false, siteName: 'learn', },data: { timeOrigin: Date.now(), contentLocale: 'en-us', contentDir: 'ltr', userLocale: 'en-us', userDir: 'ltr', pageTemplate: 'Reference', brand: '', context: {}, hasBinaryRating: true, feedbackHelpLinkType:'get-help-at-qna', feedbackHelpLinkUrl:'https://learn.microsoft.com/answers/tags/97/dotnet', standardFeedback: false, showFeedbackReport: false, enableTutorialFeedback: false, feedbackSystem: 'OpenSource', feedbackGitHubRepo: 'dotnet/dotnet-api-docs', feedbackProductUrl: 'https://aka.ms/feedback/report?space=61',defaultDevLang: 'csharp',extendBreadcrumb: true,isEditDisplayable: true, hideViewSource: false, hasPageActions: true, hasPrintButton: true, hasBookmark: true, hasShare: true, isPermissioned: false, isPrivateUnauthorized: false,hasRecommendations: false,openSourceFeedback: true, openSourceFeedbackIssueUrl: 'https://github.com/dotnet/dotnet-api-docs/issues/new?template=z-customer-feedback.yml', openSourceFeedbackIssueTitle: '', openSourceFeedbackIssueLabels: '',contributors: [{ name: "gewarren", url: "https://github.com/gewarren" },{ name: "jkotas", url: "https://github.com/jkotas" },{ name: "carlossanlop", url: "https://github.com/carlossanlop" },{ name: "the-wazz", url: "https://github.com/the-wazz" },{ name: "eiriktsarpalis", url: "https://github.com/eiriktsarpalis" },{ name: "danmoseley", url: "https://github.com/danmoseley" },{ name: "mairaw", url: "https://github.com/mairaw" },{ name: "keenam", url: "https://github.com/keenam" },{ name: "v-mepa", url: "https://github.com/v-mepa" },{ name: "RelativelyRandom", url: "https://github.com/RelativelyRandom" },{ name: "live1206", url: "https://github.com/live1206" },{ name: "BillWagner", url: "https://github.com/BillWagner" },{ name: "WilliamAntonRohm", url: "https://github.com/WilliamAntonRohm" },{ name: "adray", url: "https://github.com/adray" },{ name: "mkwhalen", url: "https://github.com/mkwhalen" },{ name: "yishengjin1413", url: "https://github.com/yishengjin1413" },{ name: "nschonni", url: "https://github.com/nschonni" },{ name: "msschl", url: "https://github.com/msschl" },{ name: "dend", url: "https://github.com/dend" },{ name: "pkulikov", url: "https://github.com/pkulikov" },{ name: "ChrisMaddock", url: "https://github.com/ChrisMaddock" },{ name: "svick", url: "https://github.com/svick" },{ name: "TianqiZhang", url: "https://github.com/TianqiZhang" },{ name: "guardrex", url: "https://github.com/guardrex" },{ name: "tompratt-AQ", url: "https://github.com/tompratt-AQ" }],mathjax: {},}, functions:{} }; </script><script src="https://wcpstatic.microsoft.com/mscc/lib/v2/wcp-consent.js"></script> <script src="https://js.monitor.azure.com/scripts/c/ms.jsll-4.min.js"></script><script src="/static/assets/0.4.029766321/global/deprecation.js"></script><script src="/static/assets/0.4.029766321/scripts/en-us/index-docs.js"></script></head> <body lang="en-us" dir="ltr"> <div class="header-holder has-default-focus"> <a href="#main" style="z-index: 1070" class="outline-color-text visually-hidden-until-focused position-fixed inner-focus focus-visible top-0 left-0 right-0 padding-xs text-align-center has-body-background" tabindex="1">Skip to main content</a><a href="#side-doc-outline" style="z-index: 1070" class="outline-color-text visually-hidden-until-focused position-fixed inner-focus focus-visible top-0 left-0 right-0 padding-xs text-align-center has-body-background" tabindex="2">Skip to in-page navigation</a><div hidden id="cookie-consent-holder" data-test-id="cookie-consent-container"></div> <div id="unsupported-browser" style=" background-color: white; color: black; padding: 16px; border-bottom: 1px solid grey;" hidden > <div style="max-width: 800px; margin: 0 auto;"> <p style="font-size: 24px">This browser is no longer supported.</p> <p style="font-size: 16px; margin-top: 16px;">Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.</p> <div style="margin-top: 12px;"> <a href="https://go.microsoft.com/fwlink/p/?LinkID=2092881 " style=" background-color: #0078d4; border: 1px solid #0078d4; color: white; padding: 6px 12px; border-radius: 2px; display: inline-block; ">Download Microsoft Edge</a> <a href="https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge" style=" background-color: white; padding: 6px 12px; border: 1px solid #505050; color: #171717; border-radius: 2px; display: inline-block; ">More info about Internet Explorer and Microsoft Edge</a> </div> </div> </div> <!-- liquid-tag banners global --> <!-- site header --> <header id="ms--site-header" data-test-id="site-header-wrapper" role="banner" itemscope="itemscope" itemtype="http://schema.org/Organization"> <div id="ms--mobile-nav" class="site-header display-none-tablet padding-inline-none gap-none" data-bi-name="mobile-header" data-test-id="mobile-header"></div> <div id="ms--primary-nav" class="site-header display-none display-flex-tablet" data-bi-name="L1-header" data-test-id="primary-header"></div> <div id="ms--secondary-nav" class="site-header display-none display-flex-tablet" data-bi-name="L2-header" data-test-id="secondary-header"></div> </header><div id="content-header" class="content-header uhf-container has-padding has-default-focus border-bottom-none" data-bi-name="content-header"> <div class="content-header-controls margin-xxs margin-inline-sm-tablet"> <button type="button" class="contents-button button button-sm margin-right-xxs" data-bi-name="contents-expand" aria-haspopup="true" data-contents-button> <span class="icon"><span class="docon docon-menu" aria-hidden="true"></span></span> <span class="contents-expand-title">Table of contents</span> </button> <button type="button" class="ap-collapse-behavior ap-expanded button button-sm" data-bi-name="ap-collapse" aria-controls="action-panel"> <span class="icon"><span class="docon docon-exit-mode" aria-hidden="true"></span></span> <span>Exit focus mode</span> </button> </div> </div><div id="disclaimer-holder" class="has-overflow-hidden has-default-focus"> <!-- liquid-tag banners sectional --> </div> </div> <div class="mainContainer uhf-container has-default-focus" data-bi-name="body"> <div class="columns has-large-gaps is-gapless-mobile "><div id="left-container" class="left-container is-hidden-mobile column is-one-third-tablet is-one-quarter-desktop"> <nav id="affixed-left-container" class="margin-top-sm-tablet position-sticky display-flex flex-direction-column" aria-label="Primary"></nav> </div><!-- .primary-holder --> <section class="primary-holder column is-two-thirds-tablet is-three-quarters-desktop"> <!--div.columns --> <div class="columns is-gapless-mobile has-large-gaps "><div id="main-column" class="column is-full is-8-desktop"> <main id="main" class="" role="main" data-bi-name="content" lang="en-us" dir="ltr"><!-- article-header --> <div id="article-header" class="background-color-body margin-top-sm-tablet margin-bottom-xs display-none-print"> <div class="display-flex align-items-center "><details id="article-header-breadcrumbs-overflow-popover" class="popover" data-for="article-header-breadcrumbs"> <summary class="button button-clear button-primary button-sm inner-focus" aria-label="All breadcrumbs"> <span class="icon"> <span class="docon docon-more"></span> </span> </summary> <div id="article-header-breadcrumbs-overflow" class="popover-content padding-none"> </div> </details> <bread-crumbs id="article-header-breadcrumbs" data-test-id="article-header-breadcrumbs" class="overflow-hidden flex-grow-1 margin-right-sm margin-right-md-tablet margin-right-lg-desktop margin-left-negative-xxs padding-left-xxs"></bread-crumbs><div id="article-header-page-actions" class="opacity-none margin-left-auto display-flex flex-wrap-no-wrap align-items-stretch"><div class="language dropdown display-flex align-items-center"> <button class="dropdown-trigger button button-clear button-sm button-primary" aria-controls="language-menu" aria-expanded="false" title="Language" data-bi-name="language"> <span class="lang-title align-self-flex-start" dir="ltr">Language</span> <span class="icon" aria-hidden="true"> <span class="docon docon-chevron-down-light expanded-indicator"></span> </span> </button> <div class="dropdown-menu padding-xxs language-selector" name="language-selector"> <ul data-bi-name="language-links" dir="ltr"><li> <button class="button button-clear button-sm button-block" data-bi-name="lang-csharp" aria-pressed="false"></button> </li><li> <button class="button button-clear button-sm button-block" data-bi-name="lang-vb" aria-pressed="false"></button> </li><li> <button class="button button-clear button-sm button-block" data-bi-name="lang-fsharp" aria-pressed="false"></button> </li><li> <button class="button button-clear button-sm button-block" data-bi-name="lang-cpp" aria-pressed="false"></button> </li></ul> </div> </div><a id="lang-link-tablet" class="button button-primary button-clear button-sm display-none display-inline-flex-tablet" title="Read in English" data-bi-name="language-toggle" data-read-in-link hidden> <span class="icon margin-none" aria-hidden="true" data-read-in-link-icon> <span class="docon docon-locale-globe"></span> </span> <span class="is-visually-hidden" data-read-in-link-text>Read in English</span> </a><button type="button" class="collection button button-clear button-sm button-primary display-none display-inline-flex-tablet" data-list-type="collection" data-bi-name="collection" title="Add to collection"> <span class="icon margin-none" aria-hidden="true"> <span class="docon docon-circle-addition"></span> </span> <span class="collection-status is-visually-hidden">Save</span> </button><a data-contenteditbtn class="button button-clear button-sm text-decoration-none button-primary display-none display-inline-flex-tablet" aria-label="Edit" title="Edit This Document" data-bi-name="edit" href="https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Collections.Generic/List`1.xml" data-original_content_git_url="https://github.com/dotnet/dotnet-api-docs/blob/live/xml/System.Collections.Generic/List`1.xml" data-original_content_git_url_template="{repo}/blob/{branch}/xml/System.Collections.Generic/List`1.xml" data-pr_repo="" data-pr_branch=""> <span class="icon margin-none" aria-hidden="true"> <span class="docon docon-edit-outline"></span> </span> </a> <details class="popover popover-right" id="article-header-page-actions-overflow"> <summary class="justify-content-flex-start button button-clear button-sm button-primary" aria-label="More actions" title="More actions"> <span class="icon" aria-hidden="true"> <span class="docon docon-more-vertical"></span> </span> </summary> <div class="popover-content padding-xs"><button data-page-action-item="overflow-mobile" type="button" class="justify-content-flex-start button-block button-sm has-inner-focus button button-clear display-none-tablet" data-bi-name="contents-expand" data-contents-button data-popover-close> <span class="icon"> <span class="docon docon-editor-list-bullet" aria-hidden="true"></span> </span><span class="contents-expand-title">Table of contents</span></button><a id="lang-link-overflow" class="justify-content-flex-start button-sm has-inner-focus button button-clear button-block display-none-tablet" title="Read in English" data-bi-name="language-toggle" data-page-action-item="overflow-mobile" data-check-hidden="true" data-read-in-link hidden > <span class="icon" aria-hidden="true" data-read-in-link-icon> <span class="docon docon-locale-globe"></span> </span> <span data-read-in-link-text>Read in English</span> </a><button type="button" class="collection justify-content-flex-start button button-clear button-sm has-inner-focus button-block display-none-tablet" data-list-type="collection" data-bi-name="collection" title="Save" data-page-action-item="overflow-mobile" data-check-hidden="true" data-popover-close> <span class="icon" aria-hidden="true"> <span class="docon docon-circle-addition"></span> </span> <span class="collection-status">Save</span> </button> <button type="button" class="collection justify-content-flex-start button button-clear button-sm has-inner-focus button-block display-none-tablet" data-list-type="plan" data-bi-name="plan" title="Add to plan" data-page-action-item="overflow-mobile" data-check-hidden="true" data-popover-close hidden> <span class="icon" aria-hidden="true"> <span class="docon docon-circle-addition"></span> </span> <span class="plan-status">Add to plan</span> </button><a data-contenteditbtn class="button button-clear button-block button-sm has-inner-focus justify-content-flex-start text-decoration-none display-none-tablet" aria-label="Edit" title="Edit This Document" data-bi-name="edit" href="https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Collections.Generic/List`1.xml" data-original_content_git_url="https://github.com/dotnet/dotnet-api-docs/blob/live/xml/System.Collections.Generic/List`1.xml" data-original_content_git_url_template="{repo}/blob/{branch}/xml/System.Collections.Generic/List`1.xml" data-pr_repo="" data-pr_branch=""> <span class="icon" aria-hidden="true"> <span class="docon docon-edit-outline"></span> </span> <span>Edit</span> </a><div aria-hidden="true" class="margin-none" data-page-action-item="overflow-all"></div> <hr class="display-none-tablet margin-bottom-xxs margin-top-xxs" /> <h4 class="font-size-sm padding-left-xxs">Share via</h4> <a class="button button-clear button-sm button-block has-inner-focus text-decoration-none justify-content-flex-start share-facebook" data-bi-name="facebook" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-facebook-share font-size-md color-primary"></span> </span> <span class="margin-left-xxs">Facebook</span> </a> <a class="button button-clear button-sm has-inner-focus button-block text-decoration-none justify-content-flex-start share-twitter" data-bi-name="twitter" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-xlogo-share font-size-xxs"></span> </span> <span class="margin-left-xxs">x.com</span> </a> <a class="button button-clear button-sm has-inner-focus button-block text-decoration-none justify-content-flex-start share-linkedin" data-bi-name="linkedin" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-linked-in-logo font-size-sm color-primary"></span> </span> <span class="margin-left-xxs">LinkedIn</span> </a> <a class="button button-clear button-sm button-block has-inner-focus text-decoration-none justify-content-flex-start margin-bottom-xxs share-email" data-bi-name="email" data-page-action-item="overflow-all"> <span class="icon" aria-hidden="true"> <span class="docon docon-mail-message font-size-sm color-primary"></span> </span> <span class="margin-left-xxs">Email</span> </a><hr /> <button class="button button-block button-clear button-sm justify-content-flex-start has-inner-focus margin-top-xxs" title="Print" type="button" aria-label="Print" data-bi-name="print" data-page-action-item="overflow-all" data-popover-close data-print-page data-check-hidden="true"> <span class="icon" aria-hidden="true"> <span class="docon docon-print font-size-sm color-primary"></span> </span> <span class="margin-left-xxs">Print</span> </button> </div> </details> </div></div> </div> <!-- end article-header --><div> <button type="button" class="border contents-button button button-clear button-sm is-hidden-tablet has-inner-focus" data-bi-name="contents-expand" data-contents-button hidden> <span class="icon"> <span class="docon docon-editor-list-bullet" aria-hidden="true"></span> </span><span class="contents-expand-title">Table of contents</span></button> </div><!-- end mobile-contents button --> <div class="content "><!-- <content> --> <a id="system-collections-generic-list-1-convertall-1(system-converter((-0-0)))"></a> <h1>List&lt;T&gt;.Convert<wbr>All&lt;TOutput&gt;(Converter&lt;T,TOutput&gt;) Method</h1> <div class="display-flex-tablet justify-content-space-between-tablet"> <ul class="metadata page-metadata align-items-center" data-bi-name="page info"> <li>Reference</li> </ul> <div id="user-feedback" class="margin-block-xxs display-none-print" data-hide-on-archived=""> <button id="user-feedback-button" data-test-id="conceptual-feedback-button" class="button button-sm button-clear button-primary" type="button" data-bi-name="user-feedback-button" data-user-feedback-button=""> <span class="icon" aria-hidden="true"> <span class="docon docon-like"></span> </span> <span>Feedback</span> </button> </div> </div> <nav id="center-doc-outline" class="doc-outline is-hidden-desktop display-none-print margin-bottom-sm" data-bi-name="intopic toc" aria-label=""> <h2 class="title is-6 margin-block-xs"></h2> </nav> <h2 id="definition">Definition</h2> <div class="metadata"> <dl class="attributeList"> <dt>Namespace:</dt> <dd> <span class="break-text"> <a class="xref" href="system.collections.generic?view=net-9.0" data-linktype="relative-path">System.Collections.Generic</a> </span> </dd> </dl> <dl class="attributeList" data-moniker=" net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 "> <dt>Assemblies:</dt><dd>netstandard.dll, System.Collections.dll</dd> </dl> <dl class="attributeList" data-moniker=" netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 "> <dt>Assembly:</dt><dd>System.Collections.dll</dd> </dl> <dl class="attributeList" data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 netframework-4.8.1 "> <dt>Assembly:</dt><dd>mscorlib.dll</dd> </dl> <dl class="attributeList" data-moniker=" netstandard-2.0 netstandard-2.1 "> <dt>Assembly:</dt><dd>netstandard.dll</dd> </dl> <dl class="attributeList" data-moniker=" net-7.0 "> <dt>Source:</dt><dd><a href="https://github.com/dotnet/runtime/blob/d099f075e45d2aa6007a22b71b45a08758559f80/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs#L335C13-L346C25" data-linktype="external">List.cs</a></dd> </dl> <dl class="attributeList" data-moniker=" net-8.0 "> <dt>Source:</dt><dd><a href="https://github.com/dotnet/runtime/blob/5535e31a712343a63f5d7d796cd874e563e5ac14/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs#L366C13-L377C25" data-linktype="external">List.cs</a></dd> </dl> <dl class="attributeList" data-moniker=" net-9.0 "> <dt>Source:</dt><dd><a href="https://github.com/dotnet/runtime/blob/1d1bf92fcf43aa6981804dc53c5174445069c9e4/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs#L366C13-L377C25" data-linktype="external">List.cs</a></dd> </dl> </div><div class="alert is-primary is-hidden moniker-display-boilerplate"> <p class="alert-title"> <span class="docon docon-status-info-outline" aria-hidden="true"></span> Important </p> <p>Some information relates to prerelease product that may be substantially modified before it鈥檚 released. Microsoft makes no warranties, express or implied, with respect to the information provided here.</p> </div> <div data-moniker=" net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 netframework-4.8.1 netstandard-2.0 netstandard-2.1 "> <div class="summaryHolder"> <div class="summary clearFix has-text-wrap"> <p>Converts the elements in the current <a class="no-loc" href="system.collections.generic.list-1?view=net-9.0" data-linktype="relative-path">List&lt;T&gt;</a> to another type, and returns a list containing the converted elements.</p> </div> </div> <pre class="wrap" data-moniker=" net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 netframework-4.8.1 netstandard-2.0 netstandard-2.1 "><code class="cpp lang-cpp" dir="ltr">public: generic &lt;typename TOutput&gt; System::Collections::Generic::List&lt;TOutput&gt; ^ ConvertAll(Converter&lt;T, TOutput&gt; ^ converter);</code></pre> <pre class="wrap" data-moniker=" net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 netframework-4.8.1 netstandard-2.0 netstandard-2.1 "><code class="csharp lang-csharp" dir="ltr">public System.Collections.Generic.List&lt;TOutput&gt; ConvertAll&lt;TOutput&gt;(Converter&lt;T,TOutput&gt; converter);</code></pre> <pre class="wrap" data-moniker=" net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 netframework-4.8.1 netstandard-2.0 netstandard-2.1 "><code class="fsharp lang-fsharp" dir="ltr">member this.ConvertAll : Converter&lt;'T, 'Output&gt; -&gt; System.Collections.Generic.List&lt;'Output&gt;</code></pre> <pre class="wrap" data-moniker=" net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 netframework-4.8.1 netstandard-2.0 netstandard-2.1 "><code class="vb lang-vb" dir="ltr">Public Function ConvertAll(Of TOutput) (converter As Converter(Of T, TOutput)) As List(Of TOutput)</code></pre> <h4 class="propertyInfoTitle stack">Type Parameters</h4> <div class="propertyInfo"> <dl class="parameterList"> <dt> TOutput </dt> <dd> </dd> </dl> <p>The type of the elements of the target array.</p> </div> <h4 class="propertyInfoTitle stack">Parameters</h4> <div class="propertyInfo"> <dl class="parameterList"> <dt> <span data-moniker=" net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 netframework-4.8.1 netstandard-2.0 netstandard-2.1 ">converter</span> </dt> <dd> <a href="system.converter-2?view=net-9.0" data-linktype="relative-path">Converter</a>&lt;T,TOutput&gt; </dd> </dl> <p>A <a class="no-loc" href="system.converter-2?view=net-9.0" data-linktype="relative-path">Converter&lt;TInput,TOutput&gt;</a> delegate that converts each element from one type to another type.</p> </div> <h4 class="propertyInfoTitle stack">Returns</h4> <div class="propertyInfo"> <a href="system.collections.generic.list-1?view=net-9.0" data-linktype="relative-path">List</a>&lt;TOutput&gt; </div> <p>A <a class="no-loc" href="system.collections.generic.list-1?view=net-9.0" data-linktype="relative-path">List&lt;T&gt;</a> of the target type containing the converted elements from the current <a class="no-loc" href="system.collections.generic.list-1?view=net-9.0" data-linktype="relative-path">List&lt;T&gt;</a>.</p> <h4 class="propertyInfoTitle stack">Exceptions</h4> <div class="propertyInfo"> <div class="subtle"> <a href="system.argumentnullexception?view=net-9.0" data-linktype="relative-path">ArgumentNullException</a> </div> <p><code data-dev-comment-type="paramref">converter</code> is <code data-dev-comment-type="langword">null</code>.</p> </div> <h2>Examples</h2> <p>The following example defines a method named <code>PointFToPoint</code> that converts a <a href="system.drawing.pointf?view=net-9.0" class="no-loc" data-linktype="relative-path">PointF</a> structure to a <a href="system.drawing.point?view=net-9.0" class="no-loc" data-linktype="relative-path">Point</a> structure. The example then creates a <a href="system.collections.generic.list-1?view=net-9.0" class="no-loc" data-linktype="relative-path">List&lt;T&gt;</a> of <a href="system.drawing.pointf?view=net-9.0" class="no-loc" data-linktype="relative-path">PointF</a> structures, creates a <code>Converter\&lt;PointF, Point&gt;</code> delegate (<code>Converter(Of PointF, Point)</code> in Visual Basic) to represent the <code>PointFToPoint</code> method, and passes the delegate to the <a href="system.collections.generic.list-1.convertall?view=net-9.0" class="no-loc" data-linktype="relative-path">ConvertAll</a> method. The <a href="system.collections.generic.list-1.convertall?view=net-9.0" class="no-loc" data-linktype="relative-path">ConvertAll</a> method passes each element of the input list to the <code>PointFToPoint</code> method and puts the converted elements into a new list of <a href="system.drawing.point?view=net-9.0" class="no-loc" data-linktype="relative-path">Point</a> structures. Both lists are displayed.</p> <pre><code class="lang-cpp">#using &lt;System.Drawing.dll&gt; using namespace System; using namespace System::Drawing; using namespace System::Collections::Generic; Point PointFToPoint(PointF pf) { return Point((int) pf.X, (int) pf.Y); }; void main() { List&lt;PointF&gt;^ lpf = gcnew List&lt;PointF&gt;(); lpf-&gt;Add(PointF(27.8F, 32.62F)); lpf-&gt;Add(PointF(99.3F, 147.273F)); lpf-&gt;Add(PointF(7.5F, 1412.2F)); Console::WriteLine(); for each(PointF p in lpf) { Console::WriteLine(p); } List&lt;Point&gt;^ lp = lpf-&gt;ConvertAll&lt;Point&gt;( gcnew Converter&lt;PointF, Point&gt;(PointFToPoint) ); Console::WriteLine(); for each(Point p in lp) { Console::WriteLine(p); } } /* This code example produces the following output: {X=27.8, Y=32.62} {X=99.3, Y=147.273} {X=7.5, Y=1412.2} {X=27,Y=32} {X=99,Y=147} {X=7,Y=1412} */ </code></pre> <pre><code class="lang-csharp" data-interactive="csharp" data-interactive-mode="try-dotnet">using System; using System.Drawing; using System.Collections.Generic; public class Example { public static void Main() { List&lt;PointF&gt; lpf = new List&lt;PointF&gt;(); lpf.Add(new PointF(27.8F, 32.62F)); lpf.Add(new PointF(99.3F, 147.273F)); lpf.Add(new PointF(7.5F, 1412.2F)); Console.WriteLine(); foreach( PointF p in lpf ) { Console.WriteLine(p); } List&lt;Point&gt; lp = lpf.ConvertAll( new Converter&lt;PointF, Point&gt;(PointFToPoint)); Console.WriteLine(); foreach( Point p in lp ) { Console.WriteLine(p); } } public static Point PointFToPoint(PointF pf) { return new Point(((int) pf.X), ((int) pf.Y)); } } /* This code example produces the following output: {X=27.8, Y=32.62} {X=99.3, Y=147.273} {X=7.5, Y=1412.2} {X=27,Y=32} {X=99,Y=147} {X=7,Y=1412} */ </code></pre> <pre><code class="lang-vb">Imports System.Drawing Imports System.Collections.Generic Public Class Example Public Shared Sub Main() Dim lpf As New List(Of PointF) lpf.Add(New PointF(27.8, 32.62)) lpf.Add(New PointF(99.3, 147.273)) lpf.Add(New PointF(7.5, 1412.2)) Console.WriteLine() For Each p As PointF In lpf Console.WriteLine(p) Next Dim lp As List(Of Point) = lpf.ConvertAll( _ New Converter(Of PointF, Point)(AddressOf PointFToPoint)) Console.WriteLine() For Each p As Point In lp Console.WriteLine(p) Next End Sub Public Shared Function PointFToPoint(ByVal pf As PointF) _ As Point Return New Point(CInt(pf.X), CInt(pf.Y)) End Function End Class ' This code example produces the following output: ' '{X=27.8, Y=32.62} '{X=99.3, Y=147.273} '{X=7.5, Y=1412.2} ' '{X=28,Y=33} '{X=99,Y=147} '{X=8,Y=1412} </code></pre> <h2>Remarks</h2> <p>The <a href="system.converter-2?view=net-9.0" class="no-loc" data-linktype="relative-path">Converter&lt;TInput,TOutput&gt;</a> is a delegate to a method that converts an object to the target type. The elements of the current <a href="system.collections.generic.list-1?view=net-9.0" class="no-loc" data-linktype="relative-path">List&lt;T&gt;</a> are individually passed to the <a href="system.converter-2?view=net-9.0" class="no-loc" data-linktype="relative-path">Converter&lt;TInput,TOutput&gt;</a> delegate, and the converted elements are saved in the new <a href="system.collections.generic.list-1?view=net-9.0" class="no-loc" data-linktype="relative-path">List&lt;T&gt;</a>.</p> <p>The current <a href="system.collections.generic.list-1?view=net-9.0" class="no-loc" data-linktype="relative-path">List&lt;T&gt;</a> remains unchanged.</p> <p>This method is an O(<em>n</em>) operation, where <em>n</em> is <a href="system.collections.generic.list-1.count?view=net-9.0" class="no-loc" data-linktype="relative-path">Count</a>.</p> <h2>Applies to</h2> <div class="table-wrapper moniker-applies-to-table"> <table class="table table-complex has-row-header-background"> <thead> </thead> </table> </div> <h2>See also</h2> <ul> <li><a href="system.converter-2?view=net-9.0" class="no-loc" data-linktype="relative-path">Converter&lt;TInput,TOutput&gt;</a></li> </ul> </div> </div><div id="ms--inline-notifications" class="margin-block-xs" data-bi-name="inline-notification"></div><div id="assertive-live-region" role="alert" aria-live="assertive" class="visually-hidden" aria-relevant="additions" aria-atomic="true"></div> <div id="polite-live-region" role="status" aria-live="polite" class="visually-hidden" aria-relevant="additions" aria-atomic="true"></div> <!-- </content> --> </main><!-- recommendations section --><!-- end recommendations section --> <!-- feedback section --><section class="feedback-section position-relative margin-top-lg border border-radius padding-xxs" data-bi-name="open-source-feedback-section" data-open-source-feedback-section hidden> <div class="display-flex flex-direction-column flex-direction-row-tablet"> <div class="width-450-tablet padding-inline-xs padding-inline-xs-tablet padding-top-xs padding-bottom-sm padding-top-xs-tablet background-color-body-medium"> <div class="display-flex flex-direction-column"> <div class="padding-bottom-xxs"> <span class="icon margin-right-xxs" aria-hidden="true"> <span class="docon docon-brand-github"></span> </span> <span class="font-weight-semibold" >Collaborate with us on GitHub</span> </div> <span class="line-height-normal"> The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see <a href="https://learn.microsoft.com/contribute/content/dotnet/api-documentation">our contributor guide</a>. </span> </div> </div> <div class="display-flex gap-xs width-full-tablet flex-direction-column padding-xs justify-content-space-evenly"> <div class="media"><div class="media-left"> <div class="image image-36x36" hidden data-open-source-image-container> <img class="theme-display is-light" src="https://learn.microsoft.com/media/logos/logo_net.svg" aria-hidden="true" data-open-source-image-light/> <img class="theme-display is-dark is-high-contrast" src="https://learn.microsoft.com/media/logos/logo_net.svg" aria-hidden="true" data-open-source-image-dark/> </div> </div> <div class="media-content"> <p class="font-size-xl font-weight-semibold margin-bottom-xxs" data-open-source-product-title>.NET</p> <div class="display-flex gap-xs flex-direction-column"> <p class="line-height-normal" data-open-source-product-description></p> <div class="display-flex gap-xs flex-direction-column"> <a href="" data-github-link> <span class="icon margin-right-xxs" aria-hidden="true"> <span class="docon docon-bug"></span> </span> <span>Open a documentation issue</span> </a> <a href="https://aka.ms/feedback/report?space=61" class="display-block margin-top-auto font-size-md" data-feedback-product-url> <span class="icon margin-right-xxs" aria-hidden="true"> <span class="docon docon-feedback"></span> </span> <span>Provide product feedback</span> </a> </div> </div> </div> </div> </div> </div> </section><!-- end feedback section --> <!-- feedback report section --><!-- end feedback report section --><div class="border-top is-visible-interactive has-default-focus margin-top-sm "><footer id="footer-interactive" data-bi-name="footer" class="footer-layout"><div class="display-flex gap-xs flex-wrap-wrap is-full-height padding-right-lg-desktop"><a data-mscc-ic="false" class="locale-selector-link button button-sm button-clear flex-shrink-0" href="#" data-bi-name="select-locale"> <span class="icon" aria-hidden="true"> <span class="docon docon-world"></span> </span> <span class="local-selector-link-text"></span></a><div class="ccpa-privacy-link" data-ccpa-privacy-link hidden> <a href="https://aka.ms/yourcaliforniaprivacychoices" class="button button-sm button-clear flex-shrink-0" data-mscc-ic="false" data-bi-name="your-privacy-choices" > <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 14" xml:space="preserve" height="16" width="43" aria-hidden="true" focusable="false" > <path d="M7.4 12.8h6.8l3.1-11.6H7.4C4.2 1.2 1.6 3.8 1.6 7s2.6 5.8 5.8 5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#fff"></path> <path d="M22.6 0H7.4c-3.9 0-7 3.1-7 7s3.1 7 7 7h15.2c3.9 0 7-3.1 7-7s-3.2-7-7-7zm-21 7c0-3.2 2.6-5.8 5.8-5.8h9.9l-3.1 11.6H7.4c-3.2 0-5.8-2.6-5.8-5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#06f"></path> <path d="M24.6 4c.2.2.2.6 0 .8L22.5 7l2.2 2.2c.2.2.2.6 0 .8-.2.2-.6.2-.8 0l-2.2-2.2-2.2 2.2c-.2.2-.6.2-.8 0-.2-.2-.2-.6 0-.8L20.8 7l-2.2-2.2c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0l2.2 2.2L23.8 4c.2-.2.6-.2.8 0z" style="fill:#fff"></path> <path d="M12.7 4.1c.2.2.3.6.1.8L8.6 9.8c-.1.1-.2.2-.3.2-.2.1-.5.1-.7-.1L5.4 7.7c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0L8 8.6l3.8-4.5c.2-.2.6-.2.9 0z" style="fill:#06f"></path> </svg> <span>Your Privacy Choices</span> </a> </div> <div class="flex-shrink-0"> <div class="dropdown has-caret-up"> <button class="dropdown-trigger button button-clear button-sm has-inner-focus theme-dropdown-trigger" aria-controls="theme-menu-interactive" aria-expanded="false" title="Theme" data-bi-name="theme"> <span class="icon"> <span class="docon docon-sun" aria-hidden="true"></span> </span> <span>Theme</span> <span class="icon expanded-indicator" aria-hidden="true"> <span class="docon docon-chevron-down-light"></span> </span> </button> <div class="dropdown-menu" id="theme-menu-interactive" role="menu"> <ul class="theme-selector padding-xxs" role="none"> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="light"> <span class="theme-light margin-right-xxs"> <span class="theme-selector-icon border display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Light</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="dark"> <span class="theme-dark margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Dark</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="high-contrast"> <span class="theme-high-contrast margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>High contrast</span> </button> </li> </ul> </div> </div> </div> </div> <ul class="links" data-bi-name="footerlinks"> <li class="manage-cookies-holder" hidden></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/previous-versions/" data-bi-name="archivelink">Previous Versions</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="https://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog" data-bi-name="bloglink">Blog</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/contribute/" data-bi-name="contributorGuide">Contribute</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://go.microsoft.com/fwlink/?LinkId=521839" data-bi-name="privacy">Privacy</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/legal/termsofuse" data-bi-name="termsofuse">Terms of Use</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://www.microsoft.com/legal/intellectualproperty/Trademarks/" data-bi-name="trademarks">Trademarks</a></li><li>&copy; Microsoft 2025</li> </ul> </footer></div></div><div id="ms--additional-resources" class="right-container column is-4-desktop display-none display-block-desktop" data-bi-name="pageactions" role="complementary" aria-label="Additional resources" > <div id="affixed-right-container" class="margin-top-sm-tablet" data-bi-name="right-column"> <h2 id="ms--additional-resources-heading" class="title is-6 margin-top-md" hidden>Additional resources</h2> <section id="right-rail-events" data-bi-name="events-card" hidden></section> <section id="right-rail-training" data-bi-name="learning-resources-card" hidden></section> <section id="right-rail-recommendations" data-bi-name="recommendations" hidden></section> <nav id="side-doc-outline" class="doc-outline" data-bi-name="intopic toc" aria-label="In this article"> <h3>In this article</h3> </nav> <section id="right-rail-qna" class="margin-top-xxs" data-bi-name="qna-link-card" hidden></section> </div> </div></div> <!--end of div.columns --> </section> <!--end of .primary-holder --> <!-- interactive container --> <aside id="interactive-container" class="interactive-container is-visible-interactive column has-body-background-dark "> </aside> <!-- end of interactive container --> </div> </div> <!--end of .mainContainer --> <section class="border-top has-default-focus is-hidden-interactive margin-top-sm "><footer id="footer" data-bi-name="footer" class="footer-layout uhf-container has-padding" role="contentinfo"><div class="display-flex gap-xs flex-wrap-wrap is-full-height padding-right-lg-desktop"><a data-mscc-ic="false" class="locale-selector-link button button-sm button-clear flex-shrink-0" href="#" data-bi-name="select-locale"> <span class="icon" aria-hidden="true"> <span class="docon docon-world"></span> </span> <span class="local-selector-link-text"></span></a><div class="ccpa-privacy-link" data-ccpa-privacy-link hidden> <a href="https://aka.ms/yourcaliforniaprivacychoices" class="button button-sm button-clear flex-shrink-0" data-mscc-ic="false" data-bi-name="your-privacy-choices" > <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 14" xml:space="preserve" height="16" width="43" aria-hidden="true" focusable="false" > <path d="M7.4 12.8h6.8l3.1-11.6H7.4C4.2 1.2 1.6 3.8 1.6 7s2.6 5.8 5.8 5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#fff"></path> <path d="M22.6 0H7.4c-3.9 0-7 3.1-7 7s3.1 7 7 7h15.2c3.9 0 7-3.1 7-7s-3.2-7-7-7zm-21 7c0-3.2 2.6-5.8 5.8-5.8h9.9l-3.1 11.6H7.4c-3.2 0-5.8-2.6-5.8-5.8z" style="fill-rule:evenodd;clip-rule:evenodd;fill:#06f"></path> <path d="M24.6 4c.2.2.2.6 0 .8L22.5 7l2.2 2.2c.2.2.2.6 0 .8-.2.2-.6.2-.8 0l-2.2-2.2-2.2 2.2c-.2.2-.6.2-.8 0-.2-.2-.2-.6 0-.8L20.8 7l-2.2-2.2c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0l2.2 2.2L23.8 4c.2-.2.6-.2.8 0z" style="fill:#fff"></path> <path d="M12.7 4.1c.2.2.3.6.1.8L8.6 9.8c-.1.1-.2.2-.3.2-.2.1-.5.1-.7-.1L5.4 7.7c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0L8 8.6l3.8-4.5c.2-.2.6-.2.9 0z" style="fill:#06f"></path> </svg> <span>Your Privacy Choices</span> </a> </div> <div class="flex-shrink-0"> <div class="dropdown has-caret-up"> <button class="dropdown-trigger button button-clear button-sm has-inner-focus theme-dropdown-trigger" aria-controls="theme-menu" aria-expanded="false" title="Theme" data-bi-name="theme"> <span class="icon"> <span class="docon docon-sun" aria-hidden="true"></span> </span> <span>Theme</span> <span class="icon expanded-indicator" aria-hidden="true"> <span class="docon docon-chevron-down-light"></span> </span> </button> <div class="dropdown-menu" id="theme-menu" role="menu"> <ul class="theme-selector padding-xxs" role="none"> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="light"> <span class="theme-light margin-right-xxs"> <span class="theme-selector-icon border display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Light</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="dark"> <span class="theme-dark margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>Dark</span> </button> </li> <li class="theme display-block" role="menuitem"> <button class="button button-clear button-sm theme-control button-block justify-content-flex-start" data-theme-to="high-contrast"> <span class="theme-high-contrast margin-right-xxs"> <span class="border theme-selector-icon display-inline-block has-body-background" aria-hidden="true"> <svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14"> <rect width="22" height="14" class="has-fill-body-background" /> <rect x="5" y="5" width="12" height="4" class="has-fill-secondary" /> <rect x="5" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="8" y="2" width="2" height="1" class="has-fill-secondary" /> <rect x="11" y="2" width="3" height="1" class="has-fill-secondary" /> <rect x="1" y="1" width="2" height="2" class="has-fill-secondary" /> <rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" /> <rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" /> </svg> </span> </span> <span>High contrast</span> </button> </li> </ul> </div> </div> </div> </div> <ul class="links" data-bi-name="footerlinks"> <li class="manage-cookies-holder" hidden></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/previous-versions/" data-bi-name="archivelink">Previous Versions</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="https://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog" data-bi-name="bloglink">Blog</a></li> <li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/contribute/" data-bi-name="contributorGuide">Contribute</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://go.microsoft.com/fwlink/?LinkId=521839" data-bi-name="privacy">Privacy</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="/en-us/legal/termsofuse" data-bi-name="termsofuse">Terms of Use</a></li><li><a class="external-link-indicator" data-mscc-ic="false" href="https://www.microsoft.com/legal/intellectualproperty/Trademarks/" data-bi-name="trademarks">Trademarks</a></li><li>&copy; Microsoft 2025</li> </ul> </footer> </section> <div id="action-panel" role="region" aria-label="Action Panel" class="action-panel has-default-focus" tabindex="-1"></div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10