일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- popleft
- JPA
- 브루투포스
- 누적합
- python3
- DP
- 1일1솔
- 합 구하기
- BFS
- 프로그래머스
- Python
- Java
- LCM
- C#강의
- c#
- 파이썬
- pypy3
- 그리디 알고리즘
- 소수판별
- spring
- 백준
- 인프런
- deque
- unity
- 우선순위큐
- mvc
- 완전탐색
- 소수찾기
- 연관관계
- appendleft
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