전체 글
999. 총정리
룰(la règle) 첫 번째 : vs쓰기 두 번째 : 프랑스어 쓰기 001. A알고리즘 vs B알고리즘 => https://noxworld.tistory.com/11 002. Big-O표기법 1단계 vs 2단계 => https://noxworld.tistory.com/11 003. Big-O 그래프 가장 높은 연산 vs 가장 낮은 연산 => https://noxworld.tistory.com/11 004. 선형자료구조 vs 비선형자료구조 Quoi? => https://noxworld.tistory.com/29?category=1034195 005. 선형자료구조 vs 비선형자료구조 Exemple? => https://noxworld.tistory.com/29?category=1034195 006. 배열 ..
09.Nullable(널러블)
using System; using System.Collections.Generic; using System.Reflection; namespace Csharp { // Nullable = Null + able -> (Null이라는 타입을 가질 수 있다) class Program { //있냐 없냐를 표현하는 마땅한 방법이 없다. static int Find() { //물론 0을 이용해서 반환해서, 0은 없는 값이라고 규정 할 수도 있겠지만 너무 억지임 return 0; } static void Main(string[] args) { // ?(물음표)를 붙이면 null이 될 수도 있다는 뜻 int? number = null; number = 3; int a = number; //빨간 줄 } } } usin..
08.reflection 리플렉션
using System; using System.Collections.Generic; namespace Csharp { class Program { // Reflection : X-Ray // 기능 : class가 가지고 있는 모든 정보들을 runtime(프로그램이 실행되는 도중에) 다 뜯어보고 분석을 할 수 있다. class Monster { public int hp; protected int attack; private float speed; void Attack() { } } static void Main(string[] args) { Monster monster = new Monster(); // C#에서 우리가 만드는 모든 객체들은 다 object 객체에서 파생되어 나오는 것. 그래서 다들 Ge..