Why do we use parameters in c#?



Why do we use parameters in c#?..

Answer / Nitesh Agrawal

Parameters are used in C# to pass data into methods or functions. This allows for code reusability and flexibility, as the same method can be called multiple times with different input values.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is short circuit logical evaluation?

1 Answers   TCS,


What are the types of assembly available

1 Answers  


What is difference between value and reference types in C#.NET

1 Answers   BirlaSoft,


Can we have multiple constructors in a class c#?

1 Answers  


What is strong name assembly?

1 Answers  


What is array collection?

1 Answers  


Where is the main method in c#?

1 Answers  


What are the 2 kinds of data type conversions in c#?

1 Answers  


What is data types in c#?

1 Answers  


What is iformatprovider in c#?

1 Answers  


Is string a primitive data type in c#?

1 Answers  


Why would you use a class property in c#?

1 Answers  


Categories