ExamVeda
Login
Home
Classes and Objects in C Sharp
?

Which of the following is the correct way to settle down values into the structure variable 'e' defined in the following C# code snippet?
struct emp
{ 
    public String name;
    public int age;
    public Single sal;
}
emp e = new emp();

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.