What's the implicit name of the parameter that gets passed into the set method/property of a class?



What's the implicit name of the parameter that gets passed into the set method/property of a cl..

Answer / Rajiv Yadav

The implicit name of the parameter for a property's setter in C# is '_'. This can be overridden by explicitly naming the parameter.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Can you use foreach iteration on arrays in c#?

1 Answers  


C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?

3 Answers   Visual Soft,


Why linq is having select clause at the end?

1 Answers  


Can you explicitly call a destructor?

1 Answers  


Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.

1 Answers   ABB, TCS,


What is parse method in c#?

1 Answers  


What is xaml file in c#?

1 Answers  


What is difference between "as" and "is" keyword?

1 Answers  


What is web forms in c#?

1 Answers  


What is difference between property and variable in c#?

1 Answers  


Difference between imperative and interrogative code?

1 Answers   VelTech, Wipro,


Explain how to add controls dynamically to the form using c#.net.

1 Answers  


Categories