What are the similarities between class and structure?

Answer Posted / shilpa


Question What are the similarities between class and
structure?
Rank Answer Posted By
Question Submitted By :: Chhatrala
This Interview Question Asked @ Ksb
I also faced this Question!! ? ALL Interview .com
Answer -> Both can have constructors, methods,
properties , fields,
constants , enumerations, events and event handlers.

-> Structure and class can implement inteface.

-> Both of them can have constructor with parameter.

-> Both can have delegates and events.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use byref keyword in vb.net?

599


Explain how to achieve polymorphism in vb.net?

548


Before in my vb app I would just load the icons from dll. How can I load the icons provided by .net dynamically?

519


Can you please explain the difference between authentication and authorization?

536


Explain about Visual basic.NET culture?

594






Explain the advantages of vb.net?

527


Explain the difference between namespace and assembly?

514


Explain some of the exclusive features which are present in vb?

515


Explain the difference between system.string and system.stringbuilder classes?

535


What is the differnce between managed code and unmanaged code?

541


Define serialization in .net?

639


Explain an assembly?

573


What do you mean by Redim in VB.NET?

672


Explain about delegate?

516


Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?

1863