📜  静态关键字 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:55.060000             🧑  作者: Mango

代码示例2
//Static Keyword
The static keyword in Java is used for memory management mainly. We can apply java static keyword with variables, methods, blocks and nested class. The static keyword belongs to the class than an instance of the class. 

The static can be:

Variable (also known as a class variable)
Method (also known as a class method)
Block
Nested class