Return Type
The type of value a method promises to return.
What is Return Type in C#?
Return Type — The type of value a method promises to return.
class OrderCalculator
{
int Total(int price, int quantity = 1)
{
return price * quantity;
}
}
Level: Apprentice · More C# terms at this level
Updated