What are the similarities between class and structure?

Answer Posted / chhatrala

-> 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 without parameter and
with parameter.

-> Both can have delegates and events.

Is This Answer Correct ?    20 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is redim keyword?

577


What is the difference between compiler and interpreter?

550


Can you please explain the difference between c# and vb.net?

543


Explain the difference between vb 6 and vb.net?

543


Can you please explain the difference between namespace and assembly?

552






What is non_deterministic finalization?

624


Describe about visual basic.net?

563


Explain how can we remove handlers at run time?

551


Is vb.net dead?

527


What are the difference between dispose(), close(), exit(), end()? When do we use them?

537


What are the various open source tool available for VB.NET?

568


how many server control present in .net

2296


What is the difference between system.applicationexception class and system.systemexception?

686


What is early binding?

529


what is intermediate language?

612