반응형 프로그래밍/C#117 C# 얕은 복사(Shallow Copy), 깊은 복사(Deep Copy) 얕은 복사, 깊은 복사에 대해서얕은 복사(Deep Copy) class Point{ public int x; public int y; public Point(int x, int y) { this.x = x; this.y = y; } public overri.. 2023. 1. 18. C# 비트 연산자 비트 연산자(Bitwise Operator) 키워드 논리 방식 논리 게이트 & 비트 논리곱 AND | 비트 논리합 OR ^ 비트 상호배제 XOR ~ 비트 부정 NOT 비트 오른쪽 이동 - & 연산자 (논리 AND 연산자) public class Program { public static void Main() { int a = 4; // 00000000 00000000 00000000 00000100 int b = 8; // 00000000 00000000 00000000 00001000 int c = a & b; Console.WriteLine("c :{0}", c); } } 결과값 : 0 public class Program { public static void Main() { int a = 4; //.. 2023. 1. 15. C#의 역사 C# 버전 1.0 (Release Date : 2002년 1월) C# 버전 1.2 (Release Date : 2003년 4월) C# 버전 2.0 (Release Date : 2005년 11월) C# 버전 3.0 (Release Date : 2007년 11월) C# 버전 4.0 (Release Date : 2010년 4월) C# 버전 5.0 (Release Date : 2012년 8월) C# 버전 6.0 (Release Date : 2015년 7월) C# 버전 7.0 (Release Date : 2017년 3월) C# 버전 7.1 (Release Date : 2017년 8월) C# 버전 7.2 (Release Date : 2017년 11월) C# 버전 7.3 (Release Date : 2018년 5월).. 2023. 1. 3. 이전 1 ··· 17 18 19 20 다음