Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
D113
//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 Program { public static void Main(string[] args) { //Your code goes here Overload overload = new Overload(); overload.Display(); } } public class Overload { public void Display() { string [] names = {"Akhil","Arsh"}; DisplayOverload(2, names, "Ekta"); } private void DisplayOverload(int a, params string[] parameterArray) { foreach (var s in parameterArray) Console.WriteLine(s + " " + a); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Test
Fun with Enums
HuyLe
Jai
int-float C# division
How do I calculate someone's age in C#?
Compare dates c#
ReverseArrayC#
constructortest
Fórum ➡ Building a List<> with questions and answers, from data in TXT file, using LINQ ♦
Please log in to post a comment.