---
title: "Discussion on \"C# .NET Performance - Initialising Empty Array\" | Hashnode"
description: "Discussion on \"C# .NET Performance - Initialising Empty Array\". When initialising an empty array in your codebase, there are two options you would choose from:\nnew T[0] or Array.Empty<T>(). This benchmark is to compare the two options to see their performance statistics.\nBenchmark and Results\n[SimpleJob(RuntimeMo..."
url: "https://hashnode.com/posts/c-net-performance-initialising-empty-array/62704597339f010181020112"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [C# .NET Performance - Initialising Empty Array](https://blog.mith.dev/c-net-performance-initialising-empty-array?utm_source=hashnode&utm_medium=feed)

When initialising an empty array in your codebase, there are two options you would choose from: new T\[0\] or Array.Empty<T>(). This benchmark is to compare the two options to see their performance statistics. Benchmark and Results \[SimpleJob(RuntimeMo...

May 2, 2022 · 2 min read · blog.mith.dev  
Updated May 6, 2022  
Read the article

-   [#benchmark](https://hashnode.com/tag/benchmark)
-   [#performance](https://hashnode.com/tag/performance)
-   [#net](https://hashnode.com/tag/net)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#net-core](https://hashnode.com/tag/net-core)

## Written by

[Mithilesh Zavar](https://hashnode.com/@mithilesh)

@mithilesh

  
[View profile](https://hashnode.com/@mithilesh)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
