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 ? | 21 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 ? | 15 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 ? | 5 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 |
explain code with datachaching with example
Does google crawl redirects?
How can we update records in gridview?Is there any appropriate code for it?
can we place the same DLL in debug folder two times? (without using strong name )
Is it possible to perform data validations in the database?
Explain the benefits of viewstate?
When should I use server transfer and response redirect?
How can you make sure that web api returns json data only?
What is asp.net mvc5? : Asp.Net MVC
What are session state modes in asp.net?
Explain significance of routing? : asp.net mvc
Suppose you display a data having 200 records in a datagrid. Then you edit 100 records of them. Now when you will press update button,all 100 records should be updated in single shot rather than reading every record and updating. How to do it?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)