Tags
- postman pre-request
- 프런트엔드
- Android/iOS Developer
- Intellij
- Unity
- c#
- postman csv
- emplace_back
- LSL_Script
- postman collection variables
- postman excel
- solidity
- UI/UX Engineer
- C++
- postman tests
- postman
- 좋은 개발자
- Java
- Android
- postman automations
- MFC
- 다빈치 리졸브
- postman collection
- postman session
- web developer
- Front-end developer
- Interaction developer
- 우수한 프런트 개발자
- postman html parse
- oracle
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Archives
- Today
- Total
목록Ref (1)
david's daily developer note
C# ref - C# Reference
ref 키워드는 인수를 참조로 전달하는 데 사용됩니다. 메서드의 모든 매개 변수 변경 사항은 호출하는 메서드로 제어가 다시 전달될 때 해당 변수에 반영됩니다. ref 매개 변수를 사용하려면 메서드 정의와 호출하는 메서드에서 모두 ref 키워드를 명시적으로 사용해야 합니다. 예를 들면 다음과 같습니다. class RefExample { static void Method(ref int i) { i = 44; } static void Main() { int val = 0; Method(ref val); // val is now 44 } } ref 매개 변수에 전달되는 인수는 먼저 초기화되어야 합니다. 이는 해당 인수를 전달하기 전에 명시적으로 초기화할 필요가 없는 out과 다른 점입니다. out을 참조하십시오..
[Develop] Language/C#
2011. 4. 8. 20:28