---
title: "Discussion on \"Non-nullable properties in C# 11\" | Hashnode"
description: "Discussion on \"Non-nullable properties in C# 11\". How to declare non-nullable immutable properties in records, classes and structs (C# 11)."
url: "https://hashnode.com/posts/non-nullable-properties-in-c-11/63c2f3ca876e13fbe9609457"
---

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

Discussion

# [Non-nullable properties in C# 11](https://zagosk.in/non-nullable-properties-in-c-11?utm_source=hashnode&utm_medium=feed)

How to declare non-nullable immutable properties in records, classes and structs (C# 11).

Jan 14, 2023 · 3 min read · zagosk.in  
Read the article

-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#dotnetcore](https://hashnode.com/tag/dotnetcore)
-   [#tips](https://hashnode.com/tag/tips)

## Written by

[Aleksei Zagoskin](https://hashnode.com/@azagoskin)

@azagoskin · The Netherlands 🇳🇱

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

Software Architect, Staff Engineer

Software Architect, Staff Engineer | .NET, C#, microservices | Design and create scalable, high-load, fault tolerant and distributed backend services and Web APIs 👨🏼‍💻

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
