What are the similarities between class and structure?
Answer Posted / satyambabu
class is a collection of methods functions and properties
enumerators and fields.
structure can be defined as a tool for handling a group of
logically related data item.
the main difference is class is a referance type.
structure is a reference value type.
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What are all the differences between dispose and finalize()?
What is the advantage of using system.text.stringbuilder over system.string?
Write a program that would find the nth term of a geometric progression, given the value of first term and common ratio. Any inbuilt function that the language provides for calculating exponent should not be used.
What is break mode? What are the options to step through code?
What do you mean by serialization?
Explain how does the xmlserializer work?
What is difference between inline and code behind?
Explain an assembly?
What is strong name in .net assembly?
Which class allows an element to be accessed using unique key?
What are the differences between c# and visual basic.net?
How to achieve Polymorphism in VB.Net?
Explain the differences between vb.net and c#, related to oops concepts?
How many ways the function can return values?
What is econo-jit?