Can property defined in Interface.
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / chandan kumar
No,We Can,t define property in Interface
Is This Answer Correct ? | 1 Yes | 17 No |
What?s a satellite assembly?
Name some properties of thread class.
What is interface c#?
To whom a method is accesssed if it is marked as protected internal ?
code to generate a excel sheet and to write data into it --- -it has to fetch the excel sheet which is in one folder placed by us inside a project folder(i,e it has to create a instance of that excel sheet) and write the data into it row by row please respond as early as possible
How can i load the text box and label at the runtime based on the existing text box and tabel
2 Answers Merrill Lynch, Patni,
How cache is implemented in web application for DB queries?
Is string nullable in c#?
If c# destructors are so different to c++ destructors, why did ms use the same syntax?
hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks
What is delimiter in c#?
What is the main purpose of xml?