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

Advanced
-Collapse +Expand C# To/From
To/FromCODEGuides
-Collapse +Expand C# Study Test
PRESTWOODCERTIFIED
-Collapse +Expand C# Store
PRESTWOODSTORE

Prestwood eMagazine

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

   ► KBC# Knowledge Base  Computer Dictionary All Groups   Print This   

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.
-
  Load Time=less than 1 second.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


-
 
Connect With Us...
PrestwoodBoards
Join Us!
Facebook
Like our page!!!
Twitter
Follow us!
LinkedIn
Join Group
YouTube
View channel.
Go ahead!   Use Us! Call: 916-726-5675 


©1995-2014 Prestwood IT Solutions.   [Security & Privacy]   Made in the U.S.A..   No H1-B.   No offshoring.