I have a component with 3 parameter and deployed to client
side now i changed my dll method which takes 4 parameter.How
can i deploy this without affecting the clent?s code ?



I have a component with 3 parameter and deployed to client side now i changed my dll method which t..

Answer / pankaj verma

If a component's parameters are varying then it can be deployed without affecting the client in two ways:
1. In C# 4.0 and above, We can use optional parameters that work like this:
public void foo(int i, int j, int k, int a = 0) --a is newly added parameter
{
//Function logic here
}

2. Overload the method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Define page fragment caching?

0 Answers  


what are the levels of securities need to be considered for the finincial web application?

1 Answers  


How do you secure your configuration files to be accessed remotely by unauthorized users?

0 Answers  


HI, I have a very important query in mind. Please help me regarding this. I don't have any real time exp in .net. But I have a knowledge it .net. I got an offer from an MNC company as a software developer has I had kept 2 years of fake exp. Even though for this job I had worked hard to crack interview for more then a year. So, I would like to know how difficult it will be for working in real time as I don't have real time exp. Please tell me as soon as possible bcoz I need to join by next month. Can i sustain over there for a longer time or not. And also let me know how to work pressure will be over there. Please help me regarding this. I'm getting tension thinking about it. Thank you.

1 Answers   CTS,


how many select state ments are used in stored procedure?

8 Answers   CSC,






What is comparevalidator?

0 Answers  


Can one dll file contains the compiled code of more than one .net language?

0 Answers  


main difference between asp.net2.0,asp.net1.1,asp.net1.0

15 Answers   Inflexion, Infosys, iSoft, Microsoft, Prakruthi,


What is scope of an application variable in asp.net?

0 Answers  


What is the best way to search any exact information on google?

3 Answers   Intellevate,


What is caching in asp.net?

0 Answers  


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

0 Answers  


Categories