Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 |
Tags
- 배열
- 알고리즘
- thread
- 리스트
- 차이점
- 멀티쓰레드
- 객체지향
- std::map
- vector
- 자료구조
- 프래그멘테이션
- 힙영역
- 스택
- 해쉬맵
- 공부
- 스택영역
- MonoBehaviour
- 인프런
- 반복문
- Queue
- static_cast
- rookiss
- list
- 기술면접
- 큐
- map
- c#
- 트리
- 벡터
- std::unordered_map
Archives
- Today
- Total
목록Property (1)
호빵의 IT 개발소
[C#] Property
1. 객체지향 -> 은닉성 (https://hobbangim.tistory.com/27) class Program { //은닉성 class Knight { protected int hp; public int GetHp() { return hp; } public void SetHp(int hp) { this.hp = hp; } } static void Main(string[] args) { //프로퍼티 Knight knight = new Knight(); knight.SetHp(100) } } 2. 위 예제보다 좀 더 편리하게 Get과 Set을 관리하는 방법 (property) class Program { //은닉성 class Knight { protected int hp; public int Hp { g..
C#, 유니티/C# 기초
2022. 1. 9. 01:24