반응형
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
- java
- JDBC
- response
- c#상속
- ForignKey
- 타입 변수 표기법
- static
- static을 왜사용할까?
- db
- unity 오브젝트
- 메소드 정의
- Database
- spring
- request
- 요청
- MariaDB
- select
- @ Builder
- WriteLine
- unity 레이아웃
- http
- 타입이 서로 다른 두 데이터 제네릭
- 데이터베이스
- C#
- unity 간단 설정
- final
- Create
- DROP
- 메소드 지정자
- 평면좌표상에서 두점 거리 구하기
Archives
- Today
- Total
목록static을 왜사용할까? (1)
이론을 싫어!

this 키워드 - 객체 자신을 참조하는 키워드 -사용하는곳 - 함수의 파라미터 이름과 멤버 변수 이름이 동일 - 클래스 내부에서 멤버변수를 접근 하는데 사용 1 2 3 4 5 6 7 8 9 class AA { int a; public AA(int a) { this.a = a; } } cs 사실 this 는 말로 설명하는것보다 예제를 통해서 보는것이 좀 더 이해가 될것이다. 예제코드) 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 32 using System; namespace Ex03 { internal class Program { static void Main(string[] args) //main..
C#
2023. 5. 2. 21:07