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...


Can property defined in Interface.

Answers were Sorted based on User's Feedback



Can property defined in Interface...

Answer / prashant k

Yes, We can define properties inside the interface without
implementation. e.g.

String GetName {get; set;}

Is This Answer Correct ?    21 Yes 0 No

Can property defined in Interface...

Answer / pramodgupta20

You can declare the property in interface and define it in
the class which implements the interface.

int GetUser{get; set;}

Is This Answer Correct ?    2 Yes 1 No

Can property defined in Interface...

Answer / nisha mac

yes you can declare the property inside interface but
implementation is mandatory otherwise it will throw error at
buid time saying you need to implement it.

Is This Answer Correct ?    0 Yes 0 No

Can property defined in Interface...

Answer / chandan kumar

No,We Can,t define property in Interface

Is This Answer Correct ?    1 Yes 17 No

Post New Answer

More C Sharp Interview Questions

Show us in simple steps to create setup & deployment project for windows application?

0 Answers   QuestPond,


I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

0 Answers  


What is the difference between new and override in c#?

0 Answers  


How does bitwise xor work?

0 Answers  


What is difference between ienumerable and iqueryable in c#?

0 Answers  


Why do we need interfaces in c#?

0 Answers  


Where is c# compiler located?

0 Answers  


What?s the C# equivalent of C++ catch (?), which was a catch-all statement for any possible exception?

1 Answers   Visual Soft,


What is a console operator?

0 Answers  


How do you access a constant field declared in a class?

0 Answers  


Can a class or a struct have multiple constructors?

0 Answers  


Is and as in c#?

0 Answers  


Categories