Can variables defined in interface. If yes how we can
call/use it in class.

Answer Posted / praveen

no we cant add veriables in interface in c sharp

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string primitive?

655


What is fcl in c#?

654


what is IDisposal interface

901


Explain the difference between .net and c#?

685


What is different about switch statements in c#?

637


Why do we need abstract class?

641


What is serialization in .net?

753


What is the difference between parse and tryparse in c#?

693


What is lock statement in C#?

732


Write a program in c# to find the angle between the hours and minutes in a clock?

684


Explain copy constructor?

866


What is difference between const and static in c#?

664


HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only

724


Is array reference type in c#?

659


What is an iqueryable in c#?

667