DEV Community 👩‍💻👨‍💻

Cover image for Snippets in C#: Shorthand Instantiation
Matt Kenefick
Matt Kenefick

Posted on

Snippets in C#: Shorthand Instantiation

In order to eliminate some redundancy or increase readability, you can shrink the way you instantiate classes.

See the example below:

Top comments (0)

Top Heroku Alternatives (For Free!)

Recently Heroku shut down free Heroku Dynos, free Heroku Postgres, and free Heroku Data for Redis on November 28th, 2022. So Meshv Patel put together some free alternatives in this classic DEV post.