[C#] 13장 C# 람다식과 Func
✅ 1. 람다식 (Lambda Expression)람다식(Lambda)는 익명 메서드(이름 없는 메서드)를 간결하게 표현하는 방식입니다.(매개변수) => 식 or { 문장들 }class Lamda{ static void Main() { // Normal Method int Square(int x) { return x * x; } // Lamda Method Func square = x => x * x; Console.WriteLine(square(5)); }} ✅ 2. Func Func는 반환 값이 있는 람다식/메서드를 담는 제네릭 델리게이트(delegate)로 최대 ..