---
title: "Discussion on \"Constructor In C#\" | Hashnode"
description: "Discussion on \"Constructor In C#\". What Is a Constructor?\nA constructor is a special method that gets called when an object of a class is created. It's used to initialize the object's fields and properties with default or user-specified values.\nConstructors have the same name as the c..."
url: "https://hashnode.com/posts/constructor-in-c/6419f804da28c1777a1052e8"
---

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

Discussion

# [Constructor In C#](https://dev-essentials.hashnode.dev/constructor-in-c?utm_source=hashnode&utm_medium=feed)

What Is a Constructor? A constructor is a special method that gets called when an object of a class is created. It's used to initialize the object's fields and properties with default or user-specified values. Constructors have the same name as the c...

Mar 21, 2023 · 5 min read · dev-essentials.hashnode.dev  
Updated Mar 24, 2023  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#constructor](https://hashnode.com/tag/constructor)
-   [#c-basics](https://hashnode.com/tag/c-basics)

## Written by

[Hasan Shahariar](https://hashnode.com/@Shahariar)

@Shahariar

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

Teach people how to think in a C# way

## Responses 1

Markdown supported · ⌘↵ to post

[Anthony Fung](https://hashnode.com/@anthonyf)

[Mar 21, 2023](https://hashnode.com/posts/constructor-in-c/6419f804da28c1777a1052e8/comment/641a2925e592dd06478de86f)

Nice overview. Will there be other articles covering the other constructor types mentioned in the introduction?

[Hasan Shahariar](https://hashnode.com/@Shahariar)

[Mar 23, 2023](https://hashnode.com/posts/constructor-in-c/6419f804da28c1777a1052e8/comment/641a2925e592dd06478de86f#reply-641bf9f8429c76261884e550)

Yes, this article will be completed by today end of the day. Hope you will learn something new and exciting from this article. Have a good day.
