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 / mangesh
Yes!! It is definately possible to implement interface to
structure.
struct structure_name: interface_name
{}
Structure cannot be extended.
Class cannot be inherited to structure
Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
What is a class in unity?
Write a C# program to find the Factorial of n
What kind of the information stored inside the assembly?
What are properties in C#?
What do you mean by for each loop?
Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).
What is the difference between ref & out parameters in c#?
What is the use of ienumerable in c#?
Name some properties of thread class.
What is difference between value and reference types in C#.NET
What is the console on a mac?
Why is c# better than java?
What is the C# syntax to catch any possible exception?
Does c# have its own class library?
Can you pass parameters to destructors?