---
title: "Hasan Shahariar (@Shahariar) | Hashnode"
description: "Teach people how to think in a C# way. Read the latest articles by Hasan Shahariar on Hashnode."
url: "https://hashnode.com/@Shahariar"
---

@Shahariar

# Hasan Shahariar

@Shahariar · Joined February 2023

Teach people how to think in a C# way

### [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...

5 min read · [dev-essentials.hashnode.dev](https://dev-essentials.hashnode.dev/constructor-in-c?utm_source=hashnode&utm_medium=feed)

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