What is difference between "as" and "is" keyword?



What is difference between "as" and "is" keyword?..

Answer / mohit

as operator use for casting
where is operator is use for comparision.

Is This Answer Correct ?    9 Yes 3 No

Post New Answer

More C Sharp Interview Questions

How does bitwise work?

1 Answers  


What is a strong name in c#?

1 Answers  


What is the difference between static class and abstract class in c#?

1 Answers  


What is better C# or VB.NET?

1 Answers  


How assembly versioning in .NET prevent DLL Hell problem?

1 Answers   DELL,


What are the types of inheritance in c#?

1 Answers  


What is the difference between int.parse and int.tryparse methods?

1 Answers  


What is a shared assembly?

1 Answers   Wipro,


Why do we need delegates?

1 Answers  


How to implement delegates in c#.net

1 Answers  


What is the difference between paramaterized constructor and copy constructor?

1 Answers   HCL,


Is list passed by reference c#?

1 Answers  


Categories