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 ?    20 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 ?    14 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 ?    4 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

What is role manager work in web.config? how to restrict perticular pages from the users using the role manager?

1 Answers   Patni,


What are the asp.net security controls?

0 Answers  


What is Partial in ASP.NET 2.0?

2 Answers   Fulcrum Logic,


Explain Session state management options in ASP.NET.

0 Answers   CDC,


What is state management in asp.net and define Client-side state management and Server-side state management?

2 Answers   TVS,






One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation .

6 Answers   TCS,


if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....

0 Answers   webdirekt,


what is asp and asp.net ?

2 Answers   Inspira Technologies,


What is the size of Get method and how much data it can store?

0 Answers   HCL,


what is the relation between delegates and events

4 Answers   IBM, iNautix,


What are the namespaces used in asp.net mvc? : asp.net mvc

0 Answers  


Why is global asax is used for?

0 Answers  


Categories