using System; namespace ConsoleApplication { class Program { static void Print(int a, int b) { Console.Write(a + b); } static void Print(string a,string b) { Console.Write(a + b); } static void Main(string[] args) { Print(1, 2); Console.WriteLine(); Print("1","2"); Console.Read(); } } }
时间: 2024-10-10 16:05:05