What is Nullable types in C#

What is nullable type in C# code? Please explain with an example. Nullable types were introduced in C# 2.0.Nullable types are instances of the System.Nullable<T> struct. A nullable type can represent the range of values for its underlying data type, also an additional null value. For example, a Nullable<Int32>, pronounced “Nullable of Int32,” can be … Read more

Dictionary in C sharp. Please explain with code

What is a dictionary in C#?Please explain. Below you can understand the use of the dictionary in an easy way. The Dictionary type in the C# language provides fast lookups with keys to get values.It allows you to use keys and values of any type, including ints and strings.using System;using System.Collections.Generic; class Program{    static … Read more

What is information management policies in SharePoint2010

What is information policies in SharePoint. A policy, as defined by MOSS, is a set of rules or guidelines that govern the creation, use, and disposition of a particular item, site, collection, list, library, page, and so on.Such as information management policy defines who can access documents of a certain content type, what users can … Read more

Executing Server side code in sharePoint or use of PageParserPath

Executing Server side code in sharePoint or use of PageParserPath Application pages in sharepoint behave like asp.net pages where they may contain inline server code.  Wheras site pages are rendered as safe mode parser so there is no problem with these type of pages.The problem comes with application pages i.e. asp.net pages. SharePoint will not … Read more

Concept of boxing and Unboxing in C sharp

Boxing and Unboxing concept in C# language. Explaining with code. Boxing: Boxing refers to the process of moving from a value type to reference type.Un-Boxing: Un-Boxing refers to the process of moving from a reference type to value type. Ex:Public void BoxingUnbox(){            int i = 10;          … Read more

RSS
YouTube
YouTube
Instagram