Example of value type and refarnce type

Answer Posted / saubhagya

Structures are value types and classes are reference types

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we write system in c#?

480


Does c# do array bounds checking?

536


What is difference between virtual and override in c#?

456


What is unmannaged code and will CLR handle this kind of code or not .

585


How do you implement thread synchronization (object.wait, notify,and criticalsection) in c#?

619






What is property in c#?

536


What is console based application?

469


What is difference between event and delegate in c#?

469


Explain About friend and Protected friend

517


Howmany five tracing levels in System.Diagnostics.TraceSwitcher? Why they are using?

524


Perfect Example Of While And Do-While Loop In C#.Net ?

563


In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

1810


What is the do while loop code?

489


Can you inherit multiple abstract classes in c#?

485


Why do we use virtual methods in c#?

483