---
title: "Discussion on \".NET 8 - C#12 - Primary Constructors\" | Hashnode"
description: "Discussion on \".NET 8 - C#12 - Primary Constructors\". Beginning in C# 12, you can declare a primary constructor in classes and structs. You place any parameters in parentheses following the type name\nhttps://youtu.be/wuTpS0zdfFs"
url: "https://hashnode.com/posts/net-8-c12-primary-constructors/650a89709f64857f802ccb2f"
---

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

Discussion

# [.NET 8 - C#12 - Primary Constructors](https://bugandfix.com/net-8-c12-primary-constructors?utm_source=hashnode&utm_medium=feed)

Beginning in C# 12, you can declare a primary constructor in classes and structs. You place any parameters in parentheses following the type name https://youtu.be/wuTpS0zdfFs

Sep 20, 2023 · 1 min read · bugandfix.com  
Read the article

-   [#csharp-beginners-dotnet-programming](https://hashnode.com/tag/csharp-beginners-dotnet-programming)
-   [#csharhp](https://hashnode.com/tag/csharhp)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#constructor](https://hashnode.com/tag/constructor)

## Written by

[Bug And Fix](https://hashnode.com/@bugandfix)

@bugandfix · Malaysia

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

programming

Bug &amp; Fix is where AI concepts meet real-world software engineering. We break down modern development, intelligent systems, tools, architecture, and emerging technologies into practical insights for developers who want to build better software and stay ahead.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
