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 ?
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 |
Define page fragment caching?
what are the levels of securities need to be considered for the finincial web application?
How do you secure your configuration files to be accessed remotely by unauthorized users?
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.
how many select state ments are used in stored procedure?
What is comparevalidator?
Can one dll file contains the compiled code of more than one .net language?
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?
What is the best way to search any exact information on google?
What is caching in asp.net?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc