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

Where can we set the specific variables for a application and Session objects ?

2 Answers   Siebel,


Explain how dot net compiled code will become platform independent?

0 Answers  


What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?

1 Answers   Infosys, KPIT,


Explain the difference between web user control and web custom control?

0 Answers  


What is microsoft windows sharepoint services?

0 Answers  






I am having four text boxes in my web application. I am setting Required Field validator to each Text box. And I am having two buttons in my application. If i clicked the first button only first two text box validation will get fire. Dont show error message for remaining two text box. If i clicked second button last two text box validation will get fired. It will not consider the first two validation controls. That is how to enable and disable the validation controls.

4 Answers  


Which method do you use to kill explicitly a users session?

0 Answers   MindCracker,


What is three major points in WCF?

9 Answers   Syntel,


I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do?

7 Answers   eMids, Infotech, Integra, TCS, Wipro,


Write a code for "RequiredFieldValidator" in java script

5 Answers   Wipro,


How do you create a permanent cookie?

8 Answers   Siebel Systems,


Differentiate globalization and localization.

0 Answers  


Categories