Skip to content

A C# Pill that highlights the order in which the fields, properties and constructors, both static and instance, are initialized in C#.

License

Notifications You must be signed in to change notification settings

CSharp-Pills-15mg/Object-Initialization-in-CSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object initialization in C#

Pill Category

Language (C#)

Description

Sometimes (not very often), the order in which the fields, properties and constructors are initialized/called is important. In this C# Pill I will try to answer the following question.

Question

  • What is the order in which are initialized/called fields, properties and constructors, both static and instance in C#?

Donations

If you like my work and want to support me, you can buy me a coffee:

ko-fi

About

A C# Pill that highlights the order in which the fields, properties and constructors, both static and instance, are initialized in C#.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages