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
What is 8 bit signed integer?
What is difference between dll and exe in c#?
What is multidimensional array in c#?
Are c# generics the same as c++ templates?
Why do we overload constructors?
How do you serialize an object?
What is the differences between datagrid, datalist and repeater in .net?
Can we create multiple constructors?
How to prevent the error while updating ui control from another thread?
What is the benefit of using interface in c#?
How would you describe encapsulation in c#?
What are primitive types in c#?
What is the difference between dynamic and var in c#?
Is array immutable in c#?
What does out mean c#?