What is a method return type in C#?
Experience Level:
Junior
Tags:
C#
Answer
Each method has a method signature that defines what will be the method return data type. When a method is called, the method can return some result to its caller.
Method return data type defines whether.
Related C# job interview questions
-
What is C#?
C# Junior -
What is a method parameter in C#?
C# Junior -
When do you use semicolon in C# and why?
C# Junior -
What is an instance method in C#?
C# Junior -
What is a static method in C#?
C# Junior