Your full service technology partner! 
-Collapse +Expand
Search C# Group:

-Collapse +Expand C# To/From
-Collapse +Expand C# Study Test
-Collapse +Expand C# Store

Prestwood eMagazine

August Edition
Subscribe now! It's Free!
Enter your email:

   ► KBC# Knowledge Base  Print This    Computer Dictionary All Groups  

C# Definitions Page

These Definitions are contributed by you (our online community members). They are organized by our knowledge base topics. Specifically, by the C# sub-topics.

Contribute a Definition

7 C# (Visual C# & VS.Net) Definitions

Group: C# (Visual C# & VS.Net)

Topic: C#

#1. Delegate - A Delegate is a variable that references a method.
#2. Reference Data type variables -

Variables that only contain a reference to the values. Reference data type variables only contain a reference to it's constituent value.  Reference data types include objects and strings.  Assignment of one reference type variable to another copies the reference, thus changes to the values in one variable changes the values in the other.

#3. Struct - A value type used to encapsulate a small set of related data.
#4. Value Data type variables - A Value data type variable contains values.

Topic: Language Basics

#5. Attribute - An attribute is a "shorthand" mechansim for having additional metadata included in your assembly.
#6. C# Null-Coalescing Operator: ?? -

The null-coalescing operatior ?? is used to assign a default value for nullable value types or reference types. This operator prevents exceptions from being thrown when trying to assign a nullable type to a non-nullable type.

For example, this code will throw an exception.

int? x = null;
int y = x;

However, this code will assign the default value of -1 to y:

int? x = null;
int y = x ?? -1;

#7. Nullable Type - Nullable types are instances of System.Nullable(T). A Nullable type can represent any of the normal values for its value type or it can be assigned the value null. This is useful when dealing with databases that may have types that do not have a value.
   Contact Us!
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675


Go ahead!   Use Us! Call: 916-726-5675 

©1995-2017 Prestwood IT Solutions.   [Security & Privacy]