can you create a function in c# which can accept varying number of arguments



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

Post New Answer

More C Sharp Interview Questions

Is c# used for frontend or backend?

1 Answers  


How does bubble sort work?

1 Answers  


Can scriptable objects have methods?

1 Answers  


What to implement on my class Finalize or IDisposable

1 Answers   HCL,


Whats an assembly? Describe the importance of assembly?

1 Answers   Siebel,


What is the use of console readline () in c#?

1 Answers  


What's the c# syntax to catch any possible exception?

1 Answers  


What is the usage of Enumeration in C# Programming and is it good to use or not ?

1 Answers   MCN Solutions,


What is asp net c#?

1 Answers  


What is difference between string and stringbuffer in c#?

1 Answers  


What is the difference between arraylist and list in c#?

1 Answers  


What can I create with c#?

1 Answers  


Categories