Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How you can add an event handler?

0 Answers  


In a webpage if i want to give access to only half page ,then what should i do?

3 Answers  


How to disable SOAP1.2 in Web Services?

1 Answers  


How many classes can a single .NET DLL contain?

14 Answers   Siebel Systems,


What are client activated objects and server activated objects?

0 Answers  


a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?

0 Answers   CTS,


What is special types forms

0 Answers   MCN Solutions,


What is asp net application object?

0 Answers  


How to write unmanaged code and how to identify whether the code is managed /unmanaged?

4 Answers   Accenture,


Describe session handling in a webfarm?

0 Answers  


Define caching.

0 Answers  


What is state management techniques in asp.net?

0 Answers  


Categories