Wednesday 21 November 2012

RealTime Dotnet Interview questions

1) What is .NET?
Ans:NET is a general-purpose software development platform, similar to Java. At
its core is a virtual machine that turns intermediate language (IL) into
machine code. High-level language compilers for C#, VB.NET and C++ are
 provided to turn source code into IL. C# is a new programming language,
very similar to Java.
2) what are features of C#?
Ans: 1) It supports intellisense.
         2) It is strong oops language ie. object oriented language.
3) what is class ?
Ans: class is collection of class.
4)When was .NET announced?
Ans:Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining
 the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET
 technology, and delegates were given CDs containing a pre-release version
 of the .NET framework/SDK and Visual Studio.NET.
5) what is reference type ?
Ans:only string and object comes under reference type
6) what is value type ?
Ans:All data types except string and object comes under value type.
7) what is package ?
Ans:
package is nothing but collection of class.
8) what is access specifier ?
Ans:when you want to define scope of data then we require Access specifier.
9)What versions of .NET are there?
Ans:The final version of the 1.0 SDK and runtime was made publicly available
 around 6pm PST on 15-Jan-2002. At the same time, the final version of
 Visual Studio.NET was made available to MSDN subscribers.
 .NET 1.1 was released in April 2003 - it's mostly bug fixes for 1.0.
 .NET 2.0 is expected in 2005.
10)What operating systems does the .NET Framework run on?
Ans:The runtime supports Windows Server 2003, Windows XP, Windows 2000,
  NT4 SP6a and Windows ME/98. Windows 95 is not supported. Some parts of
  the framework do not work on all platforms - for example, ASP.NET is only
  supported on XP and Windows 2000/2003. Windows 98/ME cannot be used
  for development.
11) what is namespace ?
Ans : namespace is a keyword use to declare scope.
12) what is the use of keyword using ?
Ans:when you want to import namespace then we have to use using keyword
 ex: using system:
13) where value type is stored ?
Ans:
it is stored in stack memory.
14)What tools can I use to develop .NET applications?
Ans:There are a number of tools, described here in ascending order of cost:
  The .NET Framework SDK is free and includes command-line compilers
  for C++, C#, and VB.NET and various other utilities to aid
  development.
15) where reference type is stored ?
Ans: it is stored in heap memory.