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 is c# console application?
What is lastindexof c#?
What is the difference between array and arraylist c#?
Why use “using” in c#?
How do I get deterministic finalization in c#?
Explain manifest in c#.
Why do we still see so much non-oo code written in c# today?
What are extender provider components? Explain how to use an extender provider in the project.
Is stringbuilder better than string?
Differentiate between sqlclient oledb and providers?
What is an abstract class c#?
What are cookies in c#?
Why is main static in c#?
How do partial classes work in c#?
What is a hashset c#?