Showing posts with label InterviewQuestions. Show all posts
Showing posts with label InterviewQuestions. Show all posts

Tuesday, 23 July 2013

Features of vb.net


1.Vb.net is object oriented programmed language
2.vb.net is not a pure object oriented programming language.because it is not compulsory to create a class in vb.net
3.Vb.net is mot strongly types and type safe language .In vb.net when you assign one type of variable to another type then no need to perform the type casting manual and vb.net will perform type casting
implicitly.Hence it is not strongly types and type safe
4.vb.net is not case sensitive
5.In VisualBasic.net no need to terminate the statements with special character like ";"

Thursday, 18 July 2013

Managed Code in .net

1.The code for which MSIL is generated after the language compiler compilation is directly executed by CLR which is known as Managed Code and the code execution process is known as managed code execution
2 .For managed code execution CLR will provide all the facilities or features of .net like
i)Common data type System
ii)Automatic Memory Management
iii)JIT compilation
iv)Code access Security
v)Exception handling Mechanism etc
3.For manage code execution CLR will contain common set of languages rule i;e common language syntax
4.Every programming language syntax will be converted into their common syntax at the time of compilation

Difference between dot net and vs.net

.Net framework is code form .net and it is used to execute .net programs or application.With frame work we can't execute any .net programs.Visual studio .net is just for an editor tool used to build the .net programs or application

.Net Framework
1.Execution environment of .net programs/applications
2.Free software.
3.Occupies a memory of 150mb to 350mb
4.dot net 1.0,2.0,3.0,4.0,4.5 are versions

VisualSTudio.net
1.Desinging/Development environment of .net programs/application
2.It has also free editions
3.Occupies memory of 1.5gb to 3.5GB with out MSDN
4.VS.net2000,2003,2005,2007,2008,2010,2012 are different versions of VS.net

Wednesday, 17 July 2013

Difference between Read() and ReadLine() in C#.net

ReadLine():It is used to read the values into variables from the keyboard and it is similar to the library function "scanf" in "C' language
var=Console.ReadLine();
1.ReadLine method will return any value enter to the keyboard as a string
2.vb.net will automatically perform type casting when you read the values for variables other then string
Here i will provide MSDN ReadLine link to get the brief explanation on it.

Read():
1.This method is similar to the library function getch() in "c" language .
2 It is used to read the single character and will not be displayed on the screen
3.MSDN Read() Method