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 / sukriya
Is it possible to implement an interface to a structure?
Ans: A struct can implement interfaces, and it does that
exactly as classes do.
Is it possible to extend a struct?
Ans: struct cannot extend another struct
Is it possible to inherit a class to struct?
Ans: A struct cannot inherit from another struct or class,
Is This Answer Correct ? | 38 Yes | 2 No |
Post New Answer View All Answers
What are scriptable objects?
Name some string escape sequences in c#.
What are the Types of optimization and name a few and how do u do?
What is the use of inheritance in c#?
Is there an equivalent of exit() for quitting a c# .net application?
Explain the ways to deploy an assembly?
Write a program in C# for checking a given number is PRIME or not.
What is delegates in c#?
What is difference between private and protected in c#?
What are the different types of delegation?
What is a service layer c#?
What are the types of methods in c#?
What is meant by unicode characters?
Why do I get a "cs5001: does not have an entry point defined" error when compiling?
What is instantiating a class?