we are working in .net namespaces like using
system.io,system.text. these namespace before we
use "using " keyword what means of using?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of validators are there in asp net?

498


I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?

1462


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

537


Is asp.net and .net the same?

514


What kind of data can be stored in viewstate?

530






Explain asp.net mvc request life cycle? : asp.net mvc

487


What is the difference between a default skin and a named skin?

593


Which protocol is used in a web api?

566


Which tool you have done?

1482


What are the differences between code behind and code inline?

516


How does session work?

509


Explain an object, class and method.

560


How do we implement bundling in MVC?

589


Define repository pattern in asp.net mvc? : asp.net mvc

501


What is difference between session and application in asp net?

490