LANGUAGE
static member
Declares a member associated with the type, not an instance.
Formal Syntax & Structure
csharp syntaxcsharp
public static int Total(int n) => n;Working Example
Example Snippetcsharp
public static int Total(int n) => n;Declares a member associated with the type, not an instance.
public static int Total(int n) => n;public static int Total(int n) => n;