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

Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?

3 Answers   HCL, NIIT,


how can i inharit multiple classes?

3 Answers  


What is caching? What are the different types of caching?

6 Answers  


Can we override the enablepartialrendering property of the scriptmanager class?

0 Answers  


How can you identify that the page is post back?

0 Answers  






In asp.net, if a webpage seems too slow to load completely in th ebrowser. In this case what are the checkings or actions you will take to rectify the slowness or which are the factors related to this issue? How we can trace it?

3 Answers  


If i have 1000 records in dataset, how to do paging?

2 Answers   Mind Tree,


Can we set master page as a start page?

0 Answers  


Where session id is stored?

0 Answers  


How many languages are supported by .NET at present time?

0 Answers  


What is the importance of Global.asax in ASP.NET?

0 Answers   B-Ways TecnoSoft,


Please brief not about xsd,xslt & xml?

0 Answers  


Categories