Home » C# Programming » Classes and Objects

Which of the following is the correct way to create an object of the class Sample? Sample s = new Sample(); Sample s; Sample s; s = new Sample(); s = new Sample();

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!