we are working in .net namespaces like using
system.io,system.text. these namespace before we
use "using " keyword what means of using?

Answers were Sorted based on User's Feedback



we are working in .net namespaces like using system.io,system.text. these namespace before we us..

Answer / avinash bodkhe

the using statement specifies a namespace that the compiler
should look at to find any classes that are refrenced in
our code but which aren't defined in the current
namespaces.

Is This Answer Correct ?    21 Yes 2 No

we are working in .net namespaces like using system.io,system.text. these namespace before we us..

Answer / chandra prakash

using keyword is used to intimate the compiler to load
supported name spaces for our program.

Is This Answer Correct ?    15 Yes 0 No

we are working in .net namespaces like using system.io,system.text. these namespace before we us..

Answer / raman

actually namespace is the set of classes in dll form that
are declared. now to define that particular set of classes
in our program we use namespace and keyword "using"
provides that particular namespace. in short it is a
preprocessor.

Is This Answer Correct ?    5 Yes 0 No

we are working in .net namespaces like using system.io,system.text. these namespace before we us..

Answer / prabakar

using keyword is used to intimate the compiler to load
supported name spaces for our program.

Is This Answer Correct ?    5 Yes 4 No

we are working in .net namespaces like using system.io,system.text. these namespace before we us..

Answer / kamlesh

"Using" is a keywords that spasify to compiler adll is
used in program

Is This Answer Correct ?    0 Yes 0 No

we are working in .net namespaces like using system.io,system.text. these namespace before we us..

Answer / shyam

using also defines the scope of our code..
suppose if we use
using(Class obj = new Class())
{
// code goes here
}

so it will also help garbage collector to empty the memory that was used for this code.

Is This Answer Correct ?    0 Yes 0 No

we are working in .net namespaces like using system.io,system.text. these namespace before we us..

Answer / smriti

With the help of the keyword using, it is possible to
create an alias name for a namespace or type. For example
using con = System.Console; // Create an alias
class MyClient
{
public static void Main()
{
con.WriteLine("Hey rajesh! how you");
}
}

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More ASP.NET Interview Questions

Define repository pattern in mvc.net? : asp.net mvc

0 Answers  


How you can access the values from the Repeater control in ASP.NET?

0 Answers  


Describe the difference between inline and code behind.

5 Answers   Siebel Systems,


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

0 Answers  


What tags do you need to add within the asp:datagrid tags to bind columns manually?

5 Answers   Siebel Systems,






What is the meaning of TestApi?

0 Answers  


What?s the difference between Codebehind="MyCode.aspx.cs" and Src="MyCode.aspx.cs"?

1 Answers   Getit, Siebel, Visual Soft,


asp.net page is a object or not?

5 Answers  


What is the difference between repeater over datalist and datagrid ?

1 Answers  


How to improve performance of web application asp.net mvc? : Asp.Net MVC

0 Answers  


What is web router?

0 Answers  


What is a Metadata?

3 Answers  


Categories