... | ... | @@ -36,7 +36,7 @@ nested class가 아닌 class는 public 또는 internal로 선언될 수 있고 |
|
|
nested class는 public, protected internal, protected, internal, private로 선언될 수 있고 기본값은 private이다.
|
|
|
|
|
|
### **2. Interface**
|
|
|
class와 struct에 구현될 수 있는 연관 기능의 집합을 정의해 놓은 것이다.
|
|
|
class와 struct에 구현될 수 있는 method의 집합을 정의해 놓은 것이다.
|
|
|
``` cs
|
|
|
interface IEquatable<T>
|
|
|
{
|
... | ... | |