프로그램/C# - Study
5D - 메소드, 오버로딩
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ex08Method3 { class Program { static void Main(string[] args) { Console.WriteLine("{0} / {1} / {2}", Plus(10, 20), Plus(10, 20, 30), Plus(11.11, 22.22)); } private static int Plus(int x, int y) { return x + y; } private static int Plus(int x, int y, int z) { return x + y + z; } private static double P..
2010. 9. 10. 11:42