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 are bitwise logical operators?
What is the diff between System.String and System.Text.StringBuilder classes?
What is a dictionary in c#?
What is the difference between console and windows application?
Does google use c#?
Explain constructor in c#?
What is readline library?
What is multithreading with .net?
What is the base class for array types?
What does console mean c#?
Do loops in c#?
What standard types does c# use?
what is IDisposal interface
What does mean before a string in c#?
Give an example of a ctype.