Is it possible to pass a parameter to the constructor with ref keyword?
Yes, it is possible; in this regards, a constructor has no difference from any other method.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Sign Up Now
or Subscribe for future quizzes