Is it possible to pass a parameter to the constructor with ref keyword?
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
Keep exploring
C# quizzes
Sign Up Now
or Subscribe for future quizzes