can you create a function in c# which can accept varying number of arguments
Answer / Atiya Baqai
Yes, you can create a function in C# that accepts a varying number of arguments using method overloading or by using params keyword.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is c# used for frontend or backend?
How does bubble sort work?
Can scriptable objects have methods?
What to implement on my class Finalize or IDisposable
Whats an assembly? Describe the importance of assembly?
What is the use of console readline () in c#?
What's the c# syntax to catch any possible exception?
What is the usage of Enumeration in C# Programming and is it good to use or not ?
What is asp net c#?
What is difference between string and stringbuffer in c#?
What is the difference between arraylist and list in c#?
What can I create with c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)