employer cover photo
employer logo
employer logo

Mitchell International

Part of Enlyte

Is this your company?

Mitchell International Interview Question

How to prevent class from being instantiated in C#

Interview Answers

Anonymous

Aug 14, 2015

declare it as static

2

Anonymous

Apr 11, 2018

we can achieve using few ways. 1) Make constructor for class protected. 2) Declare class as Abstract 3) Declare class as static