SHASHANGKA SHEKHAR'S BLOG

Author, TechWriter

What’s the difference between String and string?

Hits: 52

The string type is an alias for the System.String class. It is derived from object type.

  1. String is just a class name.
  2. String is a reference type
  3. String is not a keyword and it can be used as Identifier.
  4. string is a keyword and cannot be used as Identifier.

What is assembly in .NET?

Hits: 49

It is a single deploy able unit that contains all the information about the implementation of classes , structures and interfaces

What is namespaces in .NET?

Hits: 32

It is a logical group of related classes and interfaces and that can be used by any language targeting the .net framework.

What is a class ?

Hits: 65

A class is the generic definition of what an object is. A Class describes all the attributes of the object, as well as the methods that implement the behavior of the member object. In other words, class is a template of an object.

What is an Object?

Hits: 32

An object is an instance of a class. It contains real values instead of variables.

Pages:12