http://www.csharpfriends.com/Article .. 。?articleID = 105 - Mark Rae ASP.NET MVP http://www.markrae.netIt allows you to define different "versions" of the same function withdifferent signatures - other languages did something similar with optionalparameters, but C# doesn''t, thank God! http://www.csharpfriends.com/Article...?articleID=105--Mark RaeASP.NET MVP http://www.markrae.net 对于构造函数,你不能改名字开头。 对于其他一切 - 不用创建就更方便了br /> 许多不同的方法名称。 看看Console.WriteLine的重载,例如 - 你会不会想要真的想要那个许多不同的方法名称? JonFor constructors, you can''t change the name to start with.For everything else - it''s just more convenient not to have to createlots of different method names.Look at the overloads for Console.WriteLine, for example - would youreally want that many different method names?Jon - Hitesh Ashar hitesh(at)asharism(dot)com--Hitesh Asharhitesh (at) asharism (dot) com 这篇关于什么是超载函数的用途。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!