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
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 |
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 |
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 |
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 |
Answer / kamlesh
"Using" is a keywords that spasify to compiler adll is
used in program
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
How can we provide the WebParts control functionality to a server control?
In which event of the page viewstate is available?
What is viewstategenerator?
In which scenario we use Session and Cookies? With Example..
What Name space does the web page belon in the .net framework class hierarchy?
What is css in asp.net?
How can you send an email message from an asp.net web page?
What is view state and use of it ?
How can we Validate a Controls in ASP.NET page using JavaScript?
What are validator? How do you disable them?
How you can use video conferencing in asp.net? guys plz help me ...
What is CLS?
5 Answers IBM, PrimeLine, TCS,