---
title: "Discussion on \"Constructor in C#\" | Hashnode"
description: "Discussion on \"Constructor in C#\". What is a constructor?\n\nThe constructors are the special methods that have the same name as the class name and used to initialize the global variables.\n\nEvery class by default have their own constructors even if the programmer doesn't write it explic..."
url: "https://hashnode.com/posts/constructor-in-csharp/5fe47152e9faaa17c707c047"
---

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

Discussion

# [Constructor in C#](https://blog.vishalpawar.dev/constructor-in-csharp?utm_source=hashnode&utm_medium=feed)

What is a constructor? The constructors are the special methods that have the same name as the class name and used to initialize the global variables. Every class by default have their own constructors even if the programmer doesn't write it explic...

Dec 25, 2020 · 5 min read · blog.vishalpawar.dev  
Updated Dec 30, 2020  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#chrome-cj73auo4o0012c3wted1yb7a1](https://hashnode.com/tag/chrome-cj73auo4o0012c3wted1yb7a1)

## Written by

[Vishal Pawar](https://hashnode.com/@VishalPawarR)

@VishalPawarR · Bangalore

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

React Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
