Is it possible to implement an interface to a structure? Is
it possible to extend a struct? Is it possible to inherit a
class to struct?
Answer Posted / bablu
A struct type can implement an interface ya we can do that but the thing is we have to understand that struct is a value type and interface is a reference type data type so it is boxed.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Is c# easier than c++?
Can multiple inheritance implemented in c# ?
Explain briefly the difference between value type and reference type?
Is a games console a computer?
Is string passed by reference in c#?
What is yield c#?
Explain the feature of c# language?
What is difference between C# and VB.NET?
What is .net console?
I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?
What does it mean?
How to find out that the code is written as managed or un-managed code?
How do you set a class path?
How can you sort strings in array that are passed to method as arguments?
What is difference between method overriding and method overloading?