Initializing properties in c# with default value

Posted by

How come I did know about this notation to initialize c# class properties? Saves a lot of redundant private members code – dev smile of the day 🙂

Screenshot 2020-02-14 at 11.15.27

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s