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 many types of session in asp.net2.0

28 Answers   ABC, DOT, First Europa, HCL, iRely, TCS,


what is code access security,role based security explain with example

1 Answers   Infosys,


What is meant by asp.net?

0 Answers  


Do you know caching feature?

0 Answers  


How can we prevent an aspx page get refreshed when any information fetch from the database ?

2 Answers   Minecode,


What is round trip in asp.net?

0 Answers  


How do you implement Paging in .Net ?

1 Answers  


What are the advantages of using sql stored procedures instead of adhoc sql queries in an asp.net web application?

0 Answers  


How many types of Cookies are available in ASP.NET?

0 Answers   MindCracker,


What is base class of button control in .net?

0 Answers  


what is silver light when will we use silver light,

0 Answers  


Is post back property in asp net?

0 Answers  


Categories