
Static constructor is used to initialize static data members as soon as the class is referenced first time. This article explains how to use a static constructor in C#.

Different languages have different ways to initialize an object. C# and Java both have almost similar ways to initialize an object with few subtle differences.
Command pattern encapsulates a request as an object and gives it a known public interface. Command Pattern ensures that every object receives its own commands and provides a decoupling between sender and receiver.
Command pattern encapsulates a request as an object and gives it a known public interface. Command Pattern ensures that every object receives its own commands and provides a decoupling between sender and receiver.

.NET framework provides IEnumerable and IEnumerator interfaces to implement collection like behavior to user defined classes.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article