Example of value type and refarnce type
Answers were Sorted based on User's Feedback
Answer / saubhagya
Structures are value types and classes are reference types
| Is This Answer Correct ? | 19 Yes | 1 No |
Answer / neerajtyagi
---Value Types (C# Reference)
The value types consist of two main categories:
Structs
Enumerations
Structs fall into these categories:
Numeric types
Integral types
Floating-point types
decimal
bool
User defined structs.
------Reference Types (C# Reference)
Variables of reference types, referred to as objects, store
references to the actual data. This section introduces the
following keywords used to declare reference types:
class
interface
delegate
This section also introduces the following built-in
reference types:
object
string
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / kishore.a
Example for Value type is Structure.
Referenece type Class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / git101288
class is the value type and struct is the refrence type
this the example for value type n refrence type
| Is This Answer Correct ? | 0 Yes | 21 No |
If the original method is not static you can declare an override method to be static or not?
How do I make a dll in c#?
Why do we parse in c#?
What is thread in c#?
Explain About remoting and web services. Difference between them
Explain manifest & metadata in c#.
Where does the dispose method lie and how can it be used to clean up resources?
What is c# used for?
What is a c# delegate?
What is enum in c#?
What is difference between managed and unmanaged code?
0 Answers SwanSoft Technologies,
Any problem found in vs.et
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)