Can variables defined in interface. If yes how we can
call/use it in class.
Answers were Sorted based on User's Feedback
Answer / praveen
no we cant add veriables in interface in c sharp
| Is This Answer Correct ? | 2 Yes | 1 No |
Can you access a hidden base class method in the derived class?
You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?
How to install or uninstall a windows service?
Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?
Is string a data type in c#?
What is the advantage of constructor in c#?
What is get set in c#?
What is difference between c sharp and c#?
Why can?t you specify the accessibility modifier for methods inside the interface?
What is the wildcard character in SQL? Let?s say you want to query database with LIKE for all employees whose name starts with La.
What is session and cookies in c#?
Is datetime nullable c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)