What does question mark mean in c#?



What does question mark mean in c#?..

Answer / Umesh Chandra Saini

In C#, a question mark is used as the null coalescing operator (`??`). It returns the left operand if it's not null; otherwise, it returns the right operand.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is difference between class and interface in c#?

1 Answers  


How does dependency injection work c#?

1 Answers  


What is boxing & unboxing?

1 Answers  


What is global asax in c#?

1 Answers  


What is regex c#?

1 Answers  


What do you mean by directing?

1 Answers  


What is sql transaction in c#?

1 Answers  


What is system console writeline in c#?

1 Answers  


What is executenonquery c#?

1 Answers  


Describe the accessibility modifier protected internal.

3 Answers   Siebel Systems, Visual Soft,


Is a char?

1 Answers  


What is hashtable in c# with example?

1 Answers  


Categories