일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
31 |
Tags
- Python
- 프로그래머스
- 연관관계
- 브루투포스
- 소수판별
- 합 구하기
- c#
- Java
- popleft
- BFS
- JPA
- C#강의
- 소수찾기
- DP
- 백준
- 1일1솔
- deque
- python3
- appendleft
- 누적합
- 파이썬
- 인프런
- unity
- spring
- 그리디 알고리즘
- 우선순위큐
- pypy3
- mvc
- LCM
- 완전탐색
Archives
- Today
- Total
목록enum (1)
jae_coding
[유니티로 배우는 C#] 구조체
Sturct 구조는 클레스와 동일하지만, 직접 값을 대입시킬 수 없다. 단순히 구조체 역할만 한다. 값을 대입시키기 위해서는 Public을 넣어주거나 parameter를 받아 값을 넣어줄 수 있다. 상속이 불가능하다. class의 구버전이라고 생각하면 될 것 같다. using System.Collections; using System.Collections.Generic; using UnityEngine; public struct School{ public int student_number; public int a; public int b; public int c; public int d; public void Get_number(int Value){ student_number = Value; } // 생..
C#
2022. 7. 19. 11:25