Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
D15
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Overload { public void DisplayOverload(int a){ System.Console.WriteLine("DisplayOverload " + a); } public void DisplayOverload(int a, string a) { } public void Display(int a) { string a; } public void DisplayOverload(string a, int b){ System.Console.WriteLine("DisplayOverload " + a + b); } } public class Program { public static void Main(string[] args) { Overload overload = new Overload(); overload.DisplayOverload(100); // overload.DisplayOverload("method overloading"); overload.DisplayOverload("method overloading", 100); // Console.ReadKey(); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
text
Unity Wall Climbing script Version 1
CryptoJS vs AES
123
person-student-teacher
SierpinskiTriangleChaosGameRecursion
CodeAdvent
Pascal's triangle
Practical
Lesson1_1_Part2.cs
stackse - search stackoverflow differently
Please log in to post a comment.