CINXE.COM
Complex Struct (System.Numerics) | 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="Complex Struct (System.Numerics)" /> <meta property="og:type" content="website" /> <meta property="og:url" content="https://learn.microsoft.com/en-us/dotnet/api/system.numerics.complex?view=net-9.0" /><meta property="og:description" content="Represents a complex number. " /><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="System.Runtime.Numerics.dll" /> <meta name="APILocation" content="System.Numerics.dll" /> <meta name="APILocation" content="netstandard.dll" /> <meta name="APIName" content="System.Numerics.Complex" /> <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="Represents a complex number. " /> <meta name="document_id" content="e55bc212-2d39-eab3-42ed-918a950f08ef" /> <meta name="document_version_independent_id" content="ad8ae38a-6386-ed04-6e64-c3c4d09ed030" /> <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="3b8675b8634cd3e84fc1131c6db0cf82f33bd17c" /> <meta name="gitcommit" content="https://github.com/dotnet/dotnet-api-docs/blob/3b8675b8634cd3e84fc1131c6db0cf82f33bd17c/xml/System.Numerics/Complex.xml" /> <meta name="locale" content="en-us" /> <meta name="monikers" content="dotnet-uwp-10.0" /> <meta name="monikers" content="net-10.0" /> <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-1.0" /> <meta name="monikers" content="netcore-1.1" /> <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-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-1.1" /> <meta name="monikers" content="netstandard-1.2" /> <meta name="monikers" content="netstandard-1.3" /> <meta name="monikers" content="netstandard-1.4" /> <meta name="monikers" content="netstandard-1.6" /> <meta name="monikers" content="netstandard-2.0" /> <meta name="monikers" content="netstandard-2.1" /> <meta name="ms.assetid" content="System.Numerics.Complex" /> <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.numerics" /> <meta name="ms.topic" content="reference" /> <meta name="namespace" content="System.Numerics" /> <meta name="original_content_git_url" content="https://github.com/dotnet/dotnet-api-docs/blob/live/xml/System.Numerics/Complex.xml" /> <meta name="page_kind" content="struct" /> <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="NetType" /> <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.numerics/toc.json" /> <meta name="TopicType" content="apiref" /> <meta name="uhfHeaderId" content="MSDocsHeader-DotNet" /> <meta name="uid" content="System.Numerics.Complex" /> <meta name="updated_at" content="2025-03-01 08:29 PM" /> <meta name="persistent_id" content="f2fe4893-3736-9f04-8d19-c2d20f375505" /> <meta name="platform_id" content="f2fe4893-3736-9f04-8d19-c2d20f375505" /> <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.Numerics/Complex.xml" /><link href="https://learn.microsoft.com/en-us/dotnet/api/system.numerics.complex?view=net-9.0" rel="canonical"><title>Complex Struct (System.Numerics) | Microsoft Learn</title><link rel="stylesheet" href="/static/assets/0.4.029936425/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: { contentLocale: 'en-us', contentDir: 'ltr', userLocale: 'en-us', userDir: 'ltr', pageTemplate: 'Reference', brand: '', context: {}, 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, hasShare: true, isPermissioned: false, isPrivateUnauthorized: false,hasRecommendations: false,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: "carlossanlop", url: "https://github.com/carlossanlop" },{ name: "jeffhandley", url: "https://github.com/jeffhandley" },{ name: "albert-du", url: "https://github.com/albert-du" },{ name: "tannergooding", url: "https://github.com/tannergooding" },{ name: "huangmin-ms", url: "https://github.com/huangmin-ms" },{ name: "v-mepa", url: "https://github.com/v-mepa" },{ name: "mairaw", url: "https://github.com/mairaw" },{ name: "msoeken", url: "https://github.com/msoeken" },{ name: "live1206", url: "https://github.com/live1206" },{ name: "BillWagner", url: "https://github.com/BillWagner" },{ name: "jozkee", url: "https://github.com/jozkee" },{ name: "Potapy4", url: "https://github.com/Potapy4" },{ name: "dend", url: "https://github.com/dend" },{ name: "yishengjin1413", url: "https://github.com/yishengjin1413" },{ name: "tompratt-AQ", url: "https://github.com/tompratt-AQ" },{ name: "openpublishbuild", url: "https://github.com/openpublishbuild" },{ name: "TianqiZhang", url: "https://github.com/TianqiZhang" }],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.029936425/global/deprecation.js"></script><script src="/static/assets/0.4.029936425/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" data-main-column> <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.Numerics/Complex.xml" data-original_content_git_url="https://github.com/dotnet/dotnet-api-docs/blob/live/xml/System.Numerics/Complex.xml" data-original_content_git_url_template="{repo}/blob/{branch}/xml/System.Numerics/Complex.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.Numerics/Complex.xml" data-original_content_git_url="https://github.com/dotnet/dotnet-api-docs/blob/live/xml/System.Numerics/Complex.xml" data-original_content_git_url_template="{repo}/blob/{branch}/xml/System.Numerics/Complex.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> --><div data-chunk-ids="0"> <h1>Complex Struct</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.numerics?view=net-9.0" data-linktype="relative-path">System.Numerics</a> </span> </dd> </dl> <dl class="attributeList" data-moniker=" dotnet-uwp-10.0 "> <dt>Assemblies:</dt><dd>System.Numerics.dll, System.Runtime.Numerics.dll</dd> </dl> <dl class="attributeList" data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 "> <dt>Assemblies:</dt><dd>netstandard.dll, System.Runtime.Numerics.dll</dd> </dl> <dl class="attributeList" data-moniker=" netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 netstandard-1.1 netstandard-1.2 netstandard-1.3 netstandard-1.4 netstandard-1.6 "> <dt>Assembly:</dt><dd>System.Runtime.Numerics.dll</dd> </dl> <dl class="attributeList" data-moniker=" 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>System.Numerics.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.Runtime.Numerics/src/System/Numerics/Complex.cs" data-linktype="external">Complex.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.Runtime.Numerics/src/System/Numerics/Complex.cs" data-linktype="external">Complex.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.Runtime.Numerics/src/System/Numerics/Complex.cs" data-linktype="external">Complex.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 class="summaryHolder"> <div class="summary clearFix has-text-wrap"> <p>Represents a complex number.</p> </div> </div> <pre class="wrap" data-moniker=" dotnet-uwp-10.0 net-5.0 net-6.0 netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 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-1.1 netstandard-1.2 netstandard-1.3 netstandard-1.4 netstandard-1.6 netstandard-2.0 netstandard-2.1 "><code class="cpp lang-cpp" dir="ltr">public value class Complex : IEquatable<System::Numerics::Complex>, IFormattable</code></pre> <pre class="wrap" data-moniker=" net-10.0 net-8.0 net-9.0 "><code class="cpp lang-cpp" dir="ltr">public value class Complex : IEquatable<System::Numerics::Complex>, IParsable<System::Numerics::Complex>, ISpanParsable<System::Numerics::Complex>, IUtf8SpanParsable<System::Numerics::Complex>, System::Numerics::IAdditionOperators<System::Numerics::Complex, System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IAdditiveIdentity<System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IDecrementOperators<System::Numerics::Complex>, System::Numerics::IDivisionOperators<System::Numerics::Complex, System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IEqualityOperators<System::Numerics::Complex, System::Numerics::Complex, bool>, System::Numerics::IIncrementOperators<System::Numerics::Complex>, System::Numerics::IMultiplicativeIdentity<System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IMultiplyOperators<System::Numerics::Complex, System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::INumberBase<System::Numerics::Complex>, System::Numerics::ISignedNumber<System::Numerics::Complex>, System::Numerics::ISubtractionOperators<System::Numerics::Complex, System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IUnaryNegationOperators<System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IUnaryPlusOperators<System::Numerics::Complex, System::Numerics::Complex></code></pre> <pre class="wrap" data-moniker=" net-7.0 "><code class="cpp lang-cpp" dir="ltr">public value class Complex : IEquatable<System::Numerics::Complex>, IParsable<System::Numerics::Complex>, ISpanParsable<System::Numerics::Complex>, System::Numerics::IAdditionOperators<System::Numerics::Complex, System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IAdditiveIdentity<System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IDecrementOperators<System::Numerics::Complex>, System::Numerics::IDivisionOperators<System::Numerics::Complex, System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IEqualityOperators<System::Numerics::Complex, System::Numerics::Complex, bool>, System::Numerics::IIncrementOperators<System::Numerics::Complex>, System::Numerics::IMultiplicativeIdentity<System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IMultiplyOperators<System::Numerics::Complex, System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::INumberBase<System::Numerics::Complex>, System::Numerics::ISignedNumber<System::Numerics::Complex>, System::Numerics::ISubtractionOperators<System::Numerics::Complex, System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IUnaryNegationOperators<System::Numerics::Complex, System::Numerics::Complex>, System::Numerics::IUnaryPlusOperators<System::Numerics::Complex, System::Numerics::Complex></code></pre> <pre class="wrap" data-moniker=" dotnet-uwp-10.0 net-5.0 netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 netstandard-1.1 netstandard-1.2 netstandard-1.3 netstandard-1.4 netstandard-1.6 netstandard-2.0 netstandard-2.1 "><code class="csharp lang-csharp" dir="ltr">public struct Complex : IEquatable<System.Numerics.Complex>, IFormattable</code></pre> <pre class="wrap" data-moniker=" net-10.0 net-8.0 net-9.0 "><code class="csharp lang-csharp" dir="ltr">public readonly struct Complex : IEquatable<System.Numerics.Complex>, IParsable<System.Numerics.Complex>, ISpanParsable<System.Numerics.Complex>, IUtf8SpanParsable<System.Numerics.Complex>, System.Numerics.IAdditionOperators<System.Numerics.Complex,System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IAdditiveIdentity<System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IDecrementOperators<System.Numerics.Complex>, System.Numerics.IDivisionOperators<System.Numerics.Complex,System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IEqualityOperators<System.Numerics.Complex,System.Numerics.Complex,bool>, System.Numerics.IIncrementOperators<System.Numerics.Complex>, System.Numerics.IMultiplicativeIdentity<System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IMultiplyOperators<System.Numerics.Complex,System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.INumberBase<System.Numerics.Complex>, System.Numerics.ISignedNumber<System.Numerics.Complex>, System.Numerics.ISubtractionOperators<System.Numerics.Complex,System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IUnaryNegationOperators<System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IUnaryPlusOperators<System.Numerics.Complex,System.Numerics.Complex></code></pre> <pre class="wrap" data-moniker=" net-6.0 "><code class="csharp lang-csharp" dir="ltr">public readonly struct Complex : IEquatable<System.Numerics.Complex>, IFormattable</code></pre> <pre class="wrap" data-moniker=" net-7.0 "><code class="csharp lang-csharp" dir="ltr">public readonly struct Complex : IEquatable<System.Numerics.Complex>, IParsable<System.Numerics.Complex>, ISpanParsable<System.Numerics.Complex>, System.Numerics.IAdditionOperators<System.Numerics.Complex,System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IAdditiveIdentity<System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IDecrementOperators<System.Numerics.Complex>, System.Numerics.IDivisionOperators<System.Numerics.Complex,System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IEqualityOperators<System.Numerics.Complex,System.Numerics.Complex,bool>, System.Numerics.IIncrementOperators<System.Numerics.Complex>, System.Numerics.IMultiplicativeIdentity<System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IMultiplyOperators<System.Numerics.Complex,System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.INumberBase<System.Numerics.Complex>, System.Numerics.ISignedNumber<System.Numerics.Complex>, System.Numerics.ISubtractionOperators<System.Numerics.Complex,System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IUnaryNegationOperators<System.Numerics.Complex,System.Numerics.Complex>, System.Numerics.IUnaryPlusOperators<System.Numerics.Complex,System.Numerics.Complex></code></pre> <pre class="wrap" data-moniker=" 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 "><code class="csharp lang-csharp" dir="ltr">[System.Serializable] public struct Complex : IEquatable<System.Numerics.Complex>, IFormattable</code></pre> <pre class="wrap" data-moniker=" dotnet-uwp-10.0 net-5.0 net-6.0 netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 netstandard-1.1 netstandard-1.2 netstandard-1.3 netstandard-1.4 netstandard-1.6 netstandard-2.0 netstandard-2.1 "><code class="fsharp lang-fsharp" dir="ltr">type Complex = struct interface IFormattable</code></pre> <pre class="wrap" data-moniker=" net-10.0 net-9.0 "><code class="fsharp lang-fsharp" dir="ltr">type Complex = struct interface IFormattable interface IParsable<Complex> interface ISpanFormattable interface ISpanParsable<Complex> interface IAdditionOperators<Complex, Complex, Complex> interface IAdditiveIdentity<Complex, Complex> interface IDecrementOperators<Complex> interface IDivisionOperators<Complex, Complex, Complex> interface IEqualityOperators<Complex, Complex, bool> interface IIncrementOperators<Complex> interface IMultiplicativeIdentity<Complex, Complex> interface IMultiplyOperators<Complex, Complex, Complex> interface INumberBase<Complex> interface IUtf8SpanFormattable interface IUtf8SpanParsable<Complex> interface ISubtractionOperators<Complex, Complex, Complex> interface IUnaryNegationOperators<Complex, Complex> interface IUnaryPlusOperators<Complex, Complex> interface ISignedNumber<Complex></code></pre> <pre class="wrap" data-moniker=" net-7.0 "><code class="fsharp lang-fsharp" dir="ltr">type Complex = struct interface IFormattable interface IParsable<Complex> interface ISpanFormattable interface ISpanParsable<Complex> interface IAdditionOperators<Complex, Complex, Complex> interface IAdditiveIdentity<Complex, Complex> interface IDecrementOperators<Complex> interface IDivisionOperators<Complex, Complex, Complex> interface IEqualityOperators<Complex, Complex, bool> interface IIncrementOperators<Complex> interface IMultiplicativeIdentity<Complex, Complex> interface IMultiplyOperators<Complex, Complex, Complex> interface INumberBase<Complex> interface ISubtractionOperators<Complex, Complex, Complex> interface IUnaryNegationOperators<Complex, Complex> interface IUnaryPlusOperators<Complex, Complex> interface ISignedNumber<Complex></code></pre> <pre class="wrap" data-moniker=" net-8.0 "><code class="fsharp lang-fsharp" dir="ltr">type Complex = struct interface IFormattable interface IParsable<Complex> interface ISpanFormattable interface ISpanParsable<Complex> interface IAdditionOperators<Complex, Complex, Complex> interface IAdditiveIdentity<Complex, Complex> interface IDecrementOperators<Complex> interface IDivisionOperators<Complex, Complex, Complex> interface IEqualityOperators<Complex, Complex, bool> interface IIncrementOperators<Complex> interface IMultiplicativeIdentity<Complex, Complex> interface IMultiplyOperators<Complex, Complex, Complex> interface INumberBase<Complex> interface ISubtractionOperators<Complex, Complex, Complex> interface IUnaryNegationOperators<Complex, Complex> interface IUnaryPlusOperators<Complex, Complex> interface IUtf8SpanFormattable interface IUtf8SpanParsable<Complex> interface ISignedNumber<Complex></code></pre> <pre class="wrap" data-moniker=" 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 "><code class="fsharp lang-fsharp" dir="ltr">[<System.Serializable>] type Complex = struct interface IFormattable</code></pre> <pre class="wrap" data-moniker=" dotnet-uwp-10.0 net-5.0 net-6.0 netcore-1.0 netcore-1.1 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 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-1.1 netstandard-1.2 netstandard-1.3 netstandard-1.4 netstandard-1.6 netstandard-2.0 netstandard-2.1 "><code class="vb lang-vb" dir="ltr">Public Structure Complex Implements IEquatable(Of Complex), IFormattable</code></pre> <pre class="wrap" data-moniker=" net-10.0 net-8.0 net-9.0 "><code class="vb lang-vb" dir="ltr">Public Structure Complex Implements IAdditionOperators(Of Complex, Complex, Complex), IAdditiveIdentity(Of Complex, Complex), IDecrementOperators(Of Complex), IDivisionOperators(Of Complex, Complex, Complex), IEqualityOperators(Of Complex, Complex, Boolean), IEquatable(Of Complex), IIncrementOperators(Of Complex), IMultiplicativeIdentity(Of Complex, Complex), IMultiplyOperators(Of Complex, Complex, Complex), INumberBase(Of Complex), IParsable(Of Complex), ISignedNumber(Of Complex), ISpanParsable(Of Complex), ISubtractionOperators(Of Complex, Complex, Complex), IUnaryNegationOperators(Of Complex, Complex), IUnaryPlusOperators(Of Complex, Complex), IUtf8SpanParsable(Of Complex)</code></pre> <pre class="wrap" data-moniker=" net-7.0 "><code class="vb lang-vb" dir="ltr">Public Structure Complex Implements IAdditionOperators(Of Complex, Complex, Complex), IAdditiveIdentity(Of Complex, Complex), IDecrementOperators(Of Complex), IDivisionOperators(Of Complex, Complex, Complex), IEqualityOperators(Of Complex, Complex, Boolean), IEquatable(Of Complex), IIncrementOperators(Of Complex), IMultiplicativeIdentity(Of Complex, Complex), IMultiplyOperators(Of Complex, Complex, Complex), INumberBase(Of Complex), IParsable(Of Complex), ISignedNumber(Of Complex), ISpanParsable(Of Complex), ISubtractionOperators(Of Complex, Complex, Complex), IUnaryNegationOperators(Of Complex, Complex), IUnaryPlusOperators(Of Complex, Complex)</code></pre> <dl class="attributeList stack"> <dt>Inheritance</dt> <dd> <div class="pdlHolder"> <div class="pdl"><a href="system.object?view=net-9.0" data-linktype="relative-path">Object</a></div> <div class="pdl"><a href="system.valuetype?view=net-9.0" data-linktype="relative-path">ValueType</a></div> <span>Complex</span> </div> </dd> </dl> <dl class="attributeList stack" data-moniker=" 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>Attributes</dt> <dd> <div class="cdlHolder"> <span class="cdl break-text" data-moniker=" 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 "> <a class="xref" href="system.serializableattribute?view=net-9.0" title="System.SerializableAttribute" data-linktype="relative-path">SerializableAttribute</a></span> </div> </dd> </dl> <dl class="attributeList stack"> <dt>Implements</dt><dd> <div class="cdlHolder"> <span class="cdl"> <span class="break-text"><a href="system.iequatable-1?view=net-9.0" data-linktype="relative-path">IEquatable</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl"> <span class="break-text"><a href="system.iformattable?view=net-9.0" data-linktype="relative-path">IFormattable</a></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.iequatable-1?view=net-9.0" data-linktype="relative-path">IEquatable</a><TSelf></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.iparsable-1?view=net-9.0" data-linktype="relative-path">IParsable</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.iparsable-1?view=net-9.0" data-linktype="relative-path">IParsable<TSelf></a></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.ispanformattable?view=net-9.0" data-linktype="relative-path">ISpanFormattable</a></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.ispanparsable-1?view=net-9.0" data-linktype="relative-path">ISpanParsable</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.ispanparsable-1?view=net-9.0" data-linktype="relative-path">ISpanParsable<TSelf></a></span> </span> <span class="cdl" data-moniker=" net-10.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.iutf8spanformattable?view=net-9.0" data-linktype="relative-path">IUtf8SpanFormattable</a></span> </span> <span class="cdl" data-moniker=" net-10.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.iutf8spanparsable-1?view=net-9.0" data-linktype="relative-path">IUtf8SpanParsable</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.iutf8spanparsable-1?view=net-9.0" data-linktype="relative-path">IUtf8SpanParsable<TSelf></a></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iadditionoperators-3?view=net-9.0" data-linktype="relative-path">IAdditionOperators</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iadditionoperators-3?view=net-9.0" data-linktype="relative-path">IAdditionOperators</a><TSelf,TSelf,TSelf></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iadditiveidentity-2?view=net-9.0" data-linktype="relative-path">IAdditiveIdentity</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iadditiveidentity-2?view=net-9.0" data-linktype="relative-path">IAdditiveIdentity</a><TSelf,TSelf></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.idecrementoperators-1?view=net-9.0" data-linktype="relative-path">IDecrementOperators</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.idecrementoperators-1?view=net-9.0" data-linktype="relative-path">IDecrementOperators<TSelf></a></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.idivisionoperators-3?view=net-9.0" data-linktype="relative-path">IDivisionOperators</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.idivisionoperators-3?view=net-9.0" data-linktype="relative-path">IDivisionOperators</a><TSelf,TSelf,TSelf></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iequalityoperators-3?view=net-9.0" data-linktype="relative-path">IEqualityOperators</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.boolean?view=net-9.0" data-linktype="relative-path">Boolean</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iequalityoperators-3?view=net-9.0" data-linktype="relative-path">IEqualityOperators</a><TSelf,TSelf,<a href="system.boolean?view=net-9.0" data-linktype="relative-path">Boolean</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iincrementoperators-1?view=net-9.0" data-linktype="relative-path">IIncrementOperators</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iincrementoperators-1?view=net-9.0" data-linktype="relative-path">IIncrementOperators<TSelf></a></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.imultiplicativeidentity-2?view=net-9.0" data-linktype="relative-path">IMultiplicativeIdentity</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.imultiplicativeidentity-2?view=net-9.0" data-linktype="relative-path">IMultiplicativeIdentity</a><TSelf,TSelf></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.imultiplyoperators-3?view=net-9.0" data-linktype="relative-path">IMultiplyOperators</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.imultiplyoperators-3?view=net-9.0" data-linktype="relative-path">IMultiplyOperators</a><TSelf,TSelf,TSelf></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.inumberbase-1?view=net-9.0" data-linktype="relative-path">INumberBase</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.inumberbase-1?view=net-9.0" data-linktype="relative-path">INumberBase<TSelf></a></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.isignednumber-1?view=net-9.0" data-linktype="relative-path">ISignedNumber</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.isubtractionoperators-3?view=net-9.0" data-linktype="relative-path">ISubtractionOperators</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.isubtractionoperators-3?view=net-9.0" data-linktype="relative-path">ISubtractionOperators</a><TSelf,TSelf,TSelf></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iunarynegationoperators-2?view=net-9.0" data-linktype="relative-path">IUnaryNegationOperators</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iunarynegationoperators-2?view=net-9.0" data-linktype="relative-path">IUnaryNegationOperators</a><TSelf,TSelf></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iunaryplusoperators-2?view=net-9.0" data-linktype="relative-path">IUnaryPlusOperators</a><<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>,<a href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a>></span> </span> <span class="cdl" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <span class="break-text"><a href="system.numerics.iunaryplusoperators-2?view=net-9.0" data-linktype="relative-path">IUnaryPlusOperators</a><TSelf,TSelf></span> </span> </div> </dd> </dl> <h2 id="remarks">Remarks</h2> <p>For more information about this API, see <a href="/en-us/dotnet/fundamentals/runtime-libraries/system-numerics-complex" data-linktype="absolute-path">Supplemental API remarks for Complex</a>.</p> <div data-no-chunk=""> <h2 id="constructors"> Constructors </h2> <table class="table"> <tbody><tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.-ctor?view=net-9.0#system-numerics-complex-ctor(system-double-system-double)" data-linktype="relative-path">Complex(Double, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Initializes a new instance of the <a class="no-loc" href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a> structure using the specified real and imaginary values.</p> </td> </tr> </tbody></table> <h2 id="fields"> Fields </h2> <table class="table"> <tbody><tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.imaginaryone?view=net-9.0#system-numerics-complex-imaginaryone" data-linktype="relative-path">ImaginaryOne</a> </span> </td> <td class="has-text-wrap"> <p>Returns a new <a class="no-loc" href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a> instance with a real number equal to zero and an imaginary number equal to one.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.infinity?view=net-9.0#system-numerics-complex-infinity" data-linktype="relative-path">Infinity</a> </span> </td> <td class="has-text-wrap"> <p>Represents infinity as a complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.nan?view=net-9.0#system-numerics-complex-nan" data-linktype="relative-path">NaN</a> </span> </td> <td class="has-text-wrap"> <p>Represents a complex instance that is not a number (NaN).</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.one?view=net-9.0#system-numerics-complex-one" data-linktype="relative-path">One</a> </span> </td> <td class="has-text-wrap"> <p>Returns a new <a class="no-loc" href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a> instance with a real number equal to one and an imaginary number equal to zero.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.zero?view=net-9.0#system-numerics-complex-zero" data-linktype="relative-path">Zero</a> </span> </td> <td class="has-text-wrap"> <p>Returns a new <a class="no-loc" href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a> instance with a real number equal to zero and an imaginary number equal to zero.</p> </td> </tr> </tbody></table> <h2 id="properties"> Properties </h2> <table class="table"> <tbody><tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.imaginary?view=net-9.0#system-numerics-complex-imaginary" data-linktype="relative-path">Imaginary</a> </span> </td> <td class="has-text-wrap"> <p>Gets the imaginary component of the current <a class="no-loc" href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a> object.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.magnitude?view=net-9.0#system-numerics-complex-magnitude" data-linktype="relative-path">Magnitude</a> </span> </td> <td class="has-text-wrap"> <p>Gets the magnitude (or absolute value) of a complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.phase?view=net-9.0#system-numerics-complex-phase" data-linktype="relative-path">Phase</a> </span> </td> <td class="has-text-wrap"> <p>Gets the phase of a complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.real?view=net-9.0#system-numerics-complex-real" data-linktype="relative-path">Real</a> </span> </td> <td class="has-text-wrap"> <p>Gets the real component of the current <a class="no-loc" href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a> object.</p> </td> </tr> </tbody></table> <h2 id="methods"> Methods </h2> <table class="table"> <tbody><tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.abs?view=net-9.0#system-numerics-complex-abs(system-numerics-complex)" data-linktype="relative-path">Abs(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Gets the absolute value (or magnitude) of a complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.acos?view=net-9.0#system-numerics-complex-acos(system-numerics-complex)" data-linktype="relative-path">Acos(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the angle that is the arc cosine of the specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.add?view=net-9.0#system-numerics-complex-add(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">Add(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Adds two complex numbers and returns the result.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.add?view=net-9.0#system-numerics-complex-add(system-numerics-complex-system-double)" data-linktype="relative-path">Add(Complex, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Adds a complex number to a double-precision real number and returns the result.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.add?view=net-9.0#system-numerics-complex-add(system-double-system-numerics-complex)" data-linktype="relative-path">Add(Double, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Adds a double-precision real number to a complex number and returns the result.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.asin?view=net-9.0#system-numerics-complex-asin(system-numerics-complex)" data-linktype="relative-path">Asin(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the angle that is the arc sine of the specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.atan?view=net-9.0#system-numerics-complex-atan(system-numerics-complex)" data-linktype="relative-path">Atan(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the angle that is the arc tangent of the specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.conjugate?view=net-9.0#system-numerics-complex-conjugate(system-numerics-complex)" data-linktype="relative-path">Conjugate(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Computes the conjugate of a complex number and returns the result.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.cos?view=net-9.0#system-numerics-complex-cos(system-numerics-complex)" data-linktype="relative-path">Cos(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the cosine of the specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.cosh?view=net-9.0#system-numerics-complex-cosh(system-numerics-complex)" data-linktype="relative-path">Cosh(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the hyperbolic cosine of the specified complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.createchecked?view=net-9.0#system-numerics-complex-createchecked-1(-0)" data-linktype="relative-path">CreateChecked<TOther>(TOther)</a> </span> </td> <td class="has-text-wrap"> <p>Creates an instance of the current type from a value, throwing an overflow exception for any values that fall outside the representable range of the current type.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.createsaturating?view=net-9.0#system-numerics-complex-createsaturating-1(-0)" data-linktype="relative-path">CreateSaturating<TOther>(TOther)</a> </span> </td> <td class="has-text-wrap"> <p>Creates an instance of the current type from a value, saturating any values that fall outside the representable range of the current type.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.createtruncating?view=net-9.0#system-numerics-complex-createtruncating-1(-0)" data-linktype="relative-path">CreateTruncating<TOther>(TOther)</a> </span> </td> <td class="has-text-wrap"> <p>Creates an instance of the current type from a value, truncating any values that fall outside the representable range of the current type.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.divide?view=net-9.0#system-numerics-complex-divide(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">Divide(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Divides one complex number by another and returns the result.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.divide?view=net-9.0#system-numerics-complex-divide(system-numerics-complex-system-double)" data-linktype="relative-path">Divide(Complex, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Divides one complex number by a double-precision real number and returns the result.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.divide?view=net-9.0#system-numerics-complex-divide(system-double-system-numerics-complex)" data-linktype="relative-path">Divide(Double, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Divides one double-precision real number by a complex number and returns the result.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.equals?view=net-9.0#system-numerics-complex-equals(system-numerics-complex)" data-linktype="relative-path">Equals(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns a value that indicates whether the current instance and a specified complex number have the same value.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.equals?view=net-9.0#system-numerics-complex-equals(system-object)" data-linktype="relative-path">Equals(Object)</a> </span> </td> <td class="has-text-wrap"> <p>Returns a value that indicates whether the current instance and a specified object have the same value.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.exp?view=net-9.0#system-numerics-complex-exp(system-numerics-complex)" data-linktype="relative-path">Exp(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns <code data-dev-comment-type="langword">e</code> raised to the power specified by a complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.frompolarcoordinates?view=net-9.0#system-numerics-complex-frompolarcoordinates(system-double-system-double)" data-linktype="relative-path">FromPolarCoordinates(Double, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Creates a complex number from a point's polar coordinates.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.gethashcode?view=net-9.0#system-numerics-complex-gethashcode" data-linktype="relative-path">GetHashCode()</a> </span> </td> <td class="has-text-wrap"> <p>Returns the hash code for the current <a class="no-loc" href="system.numerics.complex?view=net-9.0" data-linktype="relative-path">Complex</a> object.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.iscomplexnumber?view=net-9.0#system-numerics-complex-iscomplexnumber(system-numerics-complex)" data-linktype="relative-path">IsComplexNumber(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value represents a complex value.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.iseveninteger?view=net-9.0#system-numerics-complex-iseveninteger(system-numerics-complex)" data-linktype="relative-path">IsEvenInteger(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value represents an even integral number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.isfinite?view=net-9.0#system-numerics-complex-isfinite(system-numerics-complex)" data-linktype="relative-path">IsFinite(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines whether the specified complex number is finite.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.isimaginarynumber?view=net-9.0#system-numerics-complex-isimaginarynumber(system-numerics-complex)" data-linktype="relative-path">IsImaginaryNumber(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value represents an imaginary number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.isinfinity?view=net-9.0#system-numerics-complex-isinfinity(system-numerics-complex)" data-linktype="relative-path">IsInfinity(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns a value indicating whether the specified complex number evaluates to infinity.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.isinteger?view=net-9.0#system-numerics-complex-isinteger(system-numerics-complex)" data-linktype="relative-path">IsInteger(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value represents an integral value.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.isnan?view=net-9.0#system-numerics-complex-isnan(system-numerics-complex)" data-linktype="relative-path">IsNaN(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns a value that indicates whether the specified complex instance is not a number (NaN).</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.isnegative?view=net-9.0#system-numerics-complex-isnegative(system-numerics-complex)" data-linktype="relative-path">IsNegative(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value is negative.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.isnegativeinfinity?view=net-9.0#system-numerics-complex-isnegativeinfinity(system-numerics-complex)" data-linktype="relative-path">IsNegativeInfinity(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value is negative infinity.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.isnormal?view=net-9.0#system-numerics-complex-isnormal(system-numerics-complex)" data-linktype="relative-path">IsNormal(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value is normal.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.isoddinteger?view=net-9.0#system-numerics-complex-isoddinteger(system-numerics-complex)" data-linktype="relative-path">IsOddInteger(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value represents an odd integral number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.ispositive?view=net-9.0#system-numerics-complex-ispositive(system-numerics-complex)" data-linktype="relative-path">IsPositive(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value is positive.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.ispositiveinfinity?view=net-9.0#system-numerics-complex-ispositiveinfinity(system-numerics-complex)" data-linktype="relative-path">IsPositiveInfinity(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value is positive infinity.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.isrealnumber?view=net-9.0#system-numerics-complex-isrealnumber(system-numerics-complex)" data-linktype="relative-path">IsRealNumber(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value represents a real number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.issubnormal?view=net-9.0#system-numerics-complex-issubnormal(system-numerics-complex)" data-linktype="relative-path">IsSubnormal(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value is subnormal.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.log?view=net-9.0#system-numerics-complex-log(system-numerics-complex-system-double)" data-linktype="relative-path">Log(Complex, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the logarithm of a specified complex number in a specified base.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.log?view=net-9.0#system-numerics-complex-log(system-numerics-complex)" data-linktype="relative-path">Log(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the natural (base <code data-dev-comment-type="langword">e</code>) logarithm of a specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.log10?view=net-9.0#system-numerics-complex-log10(system-numerics-complex)" data-linktype="relative-path">Log10(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the base-10 logarithm of a specified complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.maxmagnitude?view=net-9.0#system-numerics-complex-maxmagnitude(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">MaxMagnitude(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Compares two values to compute which is greater.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.minmagnitude?view=net-9.0#system-numerics-complex-minmagnitude(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">MinMagnitude(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Compares two values to compute which is lesser.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.multiply?view=net-9.0#system-numerics-complex-multiply(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">Multiply(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the product of two complex numbers.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.multiply?view=net-9.0#system-numerics-complex-multiply(system-numerics-complex-system-double)" data-linktype="relative-path">Multiply(Complex, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the product of a complex number and a double-precision real number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.multiply?view=net-9.0#system-numerics-complex-multiply(system-double-system-numerics-complex)" data-linktype="relative-path">Multiply(Double, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the product of a double-precision real number and a complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.negate?view=net-9.0#system-numerics-complex-negate(system-numerics-complex)" data-linktype="relative-path">Negate(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the additive inverse of a specified complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.parse?view=net-9.0#system-numerics-complex-parse(system-readonlyspan((system-char))-system-iformatprovider)" data-linktype="relative-path">Parse(ReadOnlySpan<Char>, IFormatProvider)</a> </span> </td> <td class="has-text-wrap"> <p>Parses a span of characters into a value.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.parse?view=net-9.0#system-numerics-complex-parse(system-readonlyspan((system-char))-system-globalization-numberstyles-system-iformatprovider)" data-linktype="relative-path">Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)</a> </span> </td> <td class="has-text-wrap"> <p>Parses a span of characters into a value.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.parse?view=net-9.0#system-numerics-complex-parse(system-string-system-iformatprovider)" data-linktype="relative-path">Parse(String, IFormatProvider)</a> </span> </td> <td class="has-text-wrap"> <p>Parses a string into a value.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.parse?view=net-9.0#system-numerics-complex-parse(system-string-system-globalization-numberstyles-system-iformatprovider)" data-linktype="relative-path">Parse(String, NumberStyles, IFormatProvider)</a> </span> </td> <td class="has-text-wrap"> <p>Parses a string into a value.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.pow?view=net-9.0#system-numerics-complex-pow(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">Pow(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns a specified complex number raised to a power specified by a complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.pow?view=net-9.0#system-numerics-complex-pow(system-numerics-complex-system-double)" data-linktype="relative-path">Pow(Complex, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Returns a specified complex number raised to a power specified by a double-precision floating-point number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.reciprocal?view=net-9.0#system-numerics-complex-reciprocal(system-numerics-complex)" data-linktype="relative-path">Reciprocal(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the multiplicative inverse of a complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.sin?view=net-9.0#system-numerics-complex-sin(system-numerics-complex)" data-linktype="relative-path">Sin(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the sine of the specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.sinh?view=net-9.0#system-numerics-complex-sinh(system-numerics-complex)" data-linktype="relative-path">Sinh(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the hyperbolic sine of the specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.sqrt?view=net-9.0#system-numerics-complex-sqrt(system-numerics-complex)" data-linktype="relative-path">Sqrt(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the square root of a specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.subtract?view=net-9.0#system-numerics-complex-subtract(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">Subtract(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Subtracts one complex number from another and returns the result.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.subtract?view=net-9.0#system-numerics-complex-subtract(system-numerics-complex-system-double)" data-linktype="relative-path">Subtract(Complex, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Subtracts one double-precision real number from a complex number and returns the result.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.subtract?view=net-9.0#system-numerics-complex-subtract(system-double-system-numerics-complex)" data-linktype="relative-path">Subtract(Double, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Subtracts one complex number from a double-precision real number and returns the result.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.tan?view=net-9.0#system-numerics-complex-tan(system-numerics-complex)" data-linktype="relative-path">Tan(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the tangent of the specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.tanh?view=net-9.0#system-numerics-complex-tanh(system-numerics-complex)" data-linktype="relative-path">Tanh(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the hyperbolic tangent of the specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.tostring?view=net-9.0#system-numerics-complex-tostring" data-linktype="relative-path">ToString()</a> </span> </td> <td class="has-text-wrap"> <p>Converts the value of the current complex number to its equivalent string representation in Cartesian form.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.tostring?view=net-9.0#system-numerics-complex-tostring(system-iformatprovider)" data-linktype="relative-path">ToString(IFormatProvider)</a> </span> </td> <td class="has-text-wrap"> <p>Converts the value of the current complex number to its equivalent string representation in Cartesian form by using the specified culture-specific formatting information.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.tostring?view=net-9.0#system-numerics-complex-tostring(system-string-system-iformatprovider)" data-linktype="relative-path">ToString(String, IFormatProvider)</a> </span> </td> <td class="has-text-wrap"> <p>Converts the value of the current complex number to its equivalent string representation in Cartesian form by using the specified format and culture-specific format information for its real and imaginary parts.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.tostring?view=net-9.0#system-numerics-complex-tostring(system-string)" data-linktype="relative-path">ToString(String)</a> </span> </td> <td class="has-text-wrap"> <p>Converts the value of the current complex number to its equivalent string representation in Cartesian form by using the specified format for its real and imaginary parts.</p> </td> </tr> <tr data-moniker=" net-10.0 net-8.0 net-9.0 "> <td colspan="2"> <span class="break-text"> <a class="xref" href="system.numerics.complex.tryformat?view=net-9.0#system-numerics-complex-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider)" data-linktype="relative-path">TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)</a> </span> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.tryformat?view=net-9.0#system-numerics-complex-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider)" data-linktype="relative-path">TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)</a> </span> </td> <td class="has-text-wrap"> <p>Tries to format the value of the current instance into the provided span of characters.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.tryparse?view=net-9.0#system-numerics-complex-tryparse(system-readonlyspan((system-char))-system-iformatprovider-system-numerics-complex@)" data-linktype="relative-path">TryParse(ReadOnlySpan<Char>, IFormatProvider, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Tries to parse a span of characters into a value.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.tryparse?view=net-9.0#system-numerics-complex-tryparse(system-readonlyspan((system-char))-system-globalization-numberstyles-system-iformatprovider-system-numerics-complex@)" data-linktype="relative-path">TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Tries to parse a span of characters into a value.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.tryparse?view=net-9.0#system-numerics-complex-tryparse(system-string-system-iformatprovider-system-numerics-complex@)" data-linktype="relative-path">TryParse(String, IFormatProvider, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Tries to parse a string into a value.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.tryparse?view=net-9.0#system-numerics-complex-tryparse(system-string-system-globalization-numberstyles-system-iformatprovider-system-numerics-complex@)" data-linktype="relative-path">TryParse(String, NumberStyles, IFormatProvider, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Tries to parse a string into a value.</p> </td> </tr> </tbody></table> <h2 id="operators"> Operators </h2> <table class="table"> <tbody><tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_addition?view=net-9.0#system-numerics-complex-op-addition(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">Addition(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Adds two complex numbers.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_addition?view=net-9.0#system-numerics-complex-op-addition(system-numerics-complex-system-double)" data-linktype="relative-path">Addition(Complex, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Adds a complex number to a double-precision real number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_addition?view=net-9.0#system-numerics-complex-op-addition(system-double-system-numerics-complex)" data-linktype="relative-path">Addition(Double, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Adds a double-precision real number to a complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_decrement?view=net-9.0#system-numerics-complex-op-decrement(system-numerics-complex)" data-linktype="relative-path">Decrement(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Decrements a value.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_division?view=net-9.0#system-numerics-complex-op-division(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">Division(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Divides a specified complex number by another specified complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_division?view=net-9.0#system-numerics-complex-op-division(system-numerics-complex-system-double)" data-linktype="relative-path">Division(Complex, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Divides a specified complex number by a specified double-precision real number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_division?view=net-9.0#system-numerics-complex-op-division(system-double-system-numerics-complex)" data-linktype="relative-path">Division(Double, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Divides a specified double-precision real number by a specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_equality?view=net-9.0#system-numerics-complex-op-equality(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">Equality(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns a value that indicates whether two complex numbers are equal.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_explicit?view=net-9.0#system-numerics-complex-op-explicit(system-numerics-biginteger)-system-numerics-complex" data-linktype="relative-path">Explicit(BigInteger to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an explicit conversion of a <a class="no-loc" href="system.numerics.biginteger?view=net-9.0" data-linktype="relative-path">BigInteger</a> value to a complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_explicit?view=net-9.0#system-numerics-complex-op-explicit(system-decimal)-system-numerics-complex" data-linktype="relative-path">Explicit(Decimal to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an explicit conversion of a <a class="no-loc" href="system.decimal?view=net-9.0" data-linktype="relative-path">Decimal</a> value to a complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_explicit?view=net-9.0#system-numerics-complex-op-explicit(system-int128)-system-numerics-complex" data-linktype="relative-path">Explicit(Int128 to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Explicitly converts a <a class="no-loc" href="system.int128?view=net-9.0" data-linktype="relative-path">Int128</a> value to a double-precision complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_explicit?view=net-9.0#system-numerics-complex-op-explicit(system-uint128)-system-numerics-complex" data-linktype="relative-path">Explicit(UInt128 to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Explicitly converts a <a class="no-loc" href="system.uint128?view=net-9.0" data-linktype="relative-path">UInt128</a> value to a double-precision complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-byte)-system-numerics-complex" data-linktype="relative-path">Implicit(Byte to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an implicit conversion of an unsigned byte to a complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-char)-system-numerics-complex" data-linktype="relative-path">Implicit(Char to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Implicitly converts a <a class="no-loc" href="system.char?view=net-9.0" data-linktype="relative-path">Char</a> value to a double-precision complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-double)-system-numerics-complex" data-linktype="relative-path">Implicit(Double to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an implicit conversion of a double-precision floating-point number to a complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-half)-system-numerics-complex" data-linktype="relative-path">Implicit(Half to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Implicitly converts a <a class="no-loc" href="system.half?view=net-9.0" data-linktype="relative-path">Half</a> value to a double-precision complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-int16)-system-numerics-complex" data-linktype="relative-path">Implicit(Int16 to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an implicit conversion of a 16-bit signed integer to a complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-int32)-system-numerics-complex" data-linktype="relative-path">Implicit(Int32 to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an implicit conversion of a 32-bit signed integer to a complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-int64)-system-numerics-complex" data-linktype="relative-path">Implicit(Int64 to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an implicit conversion of a 64-bit signed integer to a complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-intptr)-system-numerics-complex" data-linktype="relative-path">Implicit(IntPtr to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Implicitly converts a <a class="no-loc" href="system.intptr?view=net-9.0" data-linktype="relative-path">IntPtr</a> value to a double-precision complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-sbyte)-system-numerics-complex" data-linktype="relative-path">Implicit(SByte to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an implicit conversion of a signed byte to a complex number.</p> <p>This API is not CLS-compliant.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-single)-system-numerics-complex" data-linktype="relative-path">Implicit(Single to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an implicit conversion of a single-precision floating-point number to a complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-uint16)-system-numerics-complex" data-linktype="relative-path">Implicit(UInt16 to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an implicit conversion of a 16-bit unsigned integer to a complex number.</p> <p>This API is not CLS-compliant.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-uint32)-system-numerics-complex" data-linktype="relative-path">Implicit(UInt32 to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an implicit conversion of a 32-bit unsigned integer to a complex number.</p> <p>This API is not CLS-compliant.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-uint64)-system-numerics-complex" data-linktype="relative-path">Implicit(UInt64 to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Defines an implicit conversion of a 64-bit unsigned integer to a complex number.</p> <p>This API is not CLS-compliant.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_implicit?view=net-9.0#system-numerics-complex-op-implicit(system-uintptr)-system-numerics-complex" data-linktype="relative-path">Implicit(UIntPtr to Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Implicitly converts a <a class="no-loc" href="system.uintptr?view=net-9.0" data-linktype="relative-path">UIntPtr</a> value to a double-precision complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_increment?view=net-9.0#system-numerics-complex-op-increment(system-numerics-complex)" data-linktype="relative-path">Increment(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Increments a value.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_inequality?view=net-9.0#system-numerics-complex-op-inequality(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">Inequality(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns a value that indicates whether two complex numbers are not equal.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_multiply?view=net-9.0#system-numerics-complex-op-multiply(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">Multiply(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Multiplies two specified complex numbers.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_multiply?view=net-9.0#system-numerics-complex-op-multiply(system-numerics-complex-system-double)" data-linktype="relative-path">Multiply(Complex, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Multiplies the specified complex number by a specified double-precision real number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_multiply?view=net-9.0#system-numerics-complex-op-multiply(system-double-system-numerics-complex)" data-linktype="relative-path">Multiply(Double, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Multiplies a specified double-precision real number by a specified complex number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_subtraction?view=net-9.0#system-numerics-complex-op-subtraction(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">Subtraction(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Subtracts a complex number from another complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_subtraction?view=net-9.0#system-numerics-complex-op-subtraction(system-numerics-complex-system-double)" data-linktype="relative-path">Subtraction(Complex, Double)</a> </span> </td> <td class="has-text-wrap"> <p>Subtracts a double-precision real number from a complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-5.0 net-6.0 net-7.0 net-8.0 net-9.0 netcore-3.0 netcore-3.1 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_subtraction?view=net-9.0#system-numerics-complex-op-subtraction(system-double-system-numerics-complex)" data-linktype="relative-path">Subtraction(Double, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Subtracts a complex number from a double-precision real number.</p> </td> </tr> <tr> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_unarynegation?view=net-9.0#system-numerics-complex-op-unarynegation(system-numerics-complex)" data-linktype="relative-path">UnaryNegation(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Returns the additive inverse of a specified complex number.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.op_unaryplus?view=net-9.0#system-numerics-complex-op-unaryplus(system-numerics-complex)" data-linktype="relative-path">UnaryPlus(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Computes the unary plus of a value.</p> </td> </tr> </tbody></table> <h2 id="explicit-interface-implementations" data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> Explicit Interface Implementations </h2> <table class="table"> <tbody><tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-iadditiveidentity-system-numerics-complex-system-numerics-complex--additiveidentity?view=net-9.0#system-numerics-complex-system-numerics-iadditiveidentity((system-numerics-complex@system-numerics-complex))-additiveidentity" data-linktype="relative-path">IAdditiveIdentity<Complex,Complex>.AdditiveIdentity</a> </span> </td> <td class="has-text-wrap"> <p>Gets the additive identity of the current type.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-imultiplicativeidentity-system-numerics-complex-system-numerics-complex--multiplicativeidentity?view=net-9.0#system-numerics-complex-system-numerics-imultiplicativeidentity((system-numerics-complex@system-numerics-complex))-multiplicativeidentity" data-linktype="relative-path">IMultiplicativeIdentity<Complex,Complex>.MultiplicativeIdentity</a> </span> </td> <td class="has-text-wrap"> <p>Gets the multiplicative identity of the current type.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--abs?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-abs(system-numerics-complex)" data-linktype="relative-path">INumberBase<Complex>.Abs(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Computes the absolute of a value.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--iscanonical?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-iscanonical(system-numerics-complex)" data-linktype="relative-path">INumberBase<Complex>.IsCanonical(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value is in its canonical representation.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--iszero?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-iszero(system-numerics-complex)" data-linktype="relative-path">INumberBase<Complex>.IsZero(Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Determines if a value is zero.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--maxmagnitudenumber?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-maxmagnitudenumber(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">INumberBase<Complex>.MaxMagnitudeNumber(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Compares two values to compute which has the greater magnitude and returning the other value if an input is <code data-dev-comment-type="c">NaN</code>.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--minmagnitudenumber?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-minmagnitudenumber(system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">INumberBase<Complex>.MinMagnitudeNumber(Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Compares two values to compute which has the lesser magnitude and returning the other value if an input is <code data-dev-comment-type="c">NaN</code>.</p> </td> </tr> <tr data-moniker=" net-10.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--multiplyaddestimate?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-multiplyaddestimate(system-numerics-complex-system-numerics-complex-system-numerics-complex)" data-linktype="relative-path">INumberBase<Complex>.MultiplyAddEstimate(Complex, Complex, Complex)</a> </span> </td> <td class="has-text-wrap"> <p>Computes an estimate of (<code data-dev-comment-type="paramref">left</code> * <code data-dev-comment-type="paramref">right</code>) + <code data-dev-comment-type="paramref">addend</code>.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--one?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-one" data-linktype="relative-path">INumberBase<Complex>.One</a> </span> </td> <td class="has-text-wrap"> <p>Gets the value <code data-dev-comment-type="c">1</code> for the type.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--radix?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-radix" data-linktype="relative-path">INumberBase<Complex>.Radix</a> </span> </td> <td class="has-text-wrap"> <p>Gets the radix, or base, for the type.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td colspan="2"> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--tryconvertfromchecked?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-tryconvertfromchecked-1(-0-system-numerics-complex@)" data-linktype="relative-path">INumberBase<Complex>.TryConvertFromChecked<TOther>(TOther, Complex)</a> </span> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td colspan="2"> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--tryconvertfromsaturating?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-tryconvertfromsaturating-1(-0-system-numerics-complex@)" data-linktype="relative-path">INumberBase<Complex>.TryConvertFromSaturating<TOther>(TOther, Complex)</a> </span> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td colspan="2"> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--tryconvertfromtruncating?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-tryconvertfromtruncating-1(-0-system-numerics-complex@)" data-linktype="relative-path">INumberBase<Complex>.TryConvertFromTruncating<TOther>(TOther, Complex)</a> </span> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--tryconverttochecked?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-tryconverttochecked-1(system-numerics-complex-0@)" data-linktype="relative-path">INumberBase<Complex>.TryConvertToChecked<TOther>(Complex, TOther)</a> </span> </td> <td class="has-text-wrap"> <p>Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--tryconverttosaturating?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-tryconverttosaturating-1(system-numerics-complex-0@)" data-linktype="relative-path">INumberBase<Complex>.TryConvertToSaturating<TOther>(Complex, TOther)</a> </span> </td> <td class="has-text-wrap"> <p>Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--tryconverttotruncating?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-tryconverttotruncating-1(system-numerics-complex-0@)" data-linktype="relative-path">INumberBase<Complex>.TryConvertToTruncating<TOther>(Complex, TOther)</a> </span> </td> <td class="has-text-wrap"> <p>Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-inumberbase-system-numerics-complex--zero?view=net-9.0#system-numerics-complex-system-numerics-inumberbase((system-numerics-complex))-zero" data-linktype="relative-path">INumberBase<Complex>.Zero</a> </span> </td> <td class="has-text-wrap"> <p>Gets the value <code data-dev-comment-type="c">0</code> for the type.</p> </td> </tr> <tr data-moniker=" net-10.0 net-7.0 net-8.0 net-9.0 "> <td> <span class="break-text"> <a class="xref" href="system.numerics.complex.system-numerics-isignednumber-system-numerics-complex--negativeone?view=net-9.0#system-numerics-complex-system-numerics-isignednumber((system-numerics-complex))-negativeone" data-linktype="relative-path">ISignedNumber<Complex>.NegativeOne</a> </span> </td> <td class="has-text-wrap"> <p>Gets the value <code data-dev-comment-type="c">-1</code> for the type.</p> </td> </tr> </tbody></table> </div> <div data-no-chunk=""> <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> </div> </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>© 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>© 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>