C# is a simple & powerful object-oriented programming language developed by Microsoft. C# can be used to create various types of applications, such as web, windows, console applications, or other types of applications using Visual studio.
Press that
Returns Value
Methods can return a value to the caller.,If the return type is not void, the method can return the value by using the return statement., A statement with the return keyword followed by a value that matches the return type will return that value to the method caller.,