Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Give An example of a ctype and directcast.

Answers were Sorted based on User's Feedback



Give An example of a ctype and directcast...

Answer / sajid

Dim t As String = "5"
Dim s As Integer = CType(t, Integer)

Dim t As String = "5"
Dim w As String = DirectCast(t, String)

Is This Answer Correct ?    19 Yes 3 No

Give An example of a ctype and directcast...

Answer / narayan sahu(netx)

textbox = CType(obj, TextBox)
textbox = DirectCast(obj, TextBox)

Is This Answer Correct ?    15 Yes 8 No

Post New Answer

More Dot Net General Interview Questions

Define code access security (cas)?

0 Answers  


<li id="Accomodation" runat="server" visible="false"><a href="../searchaccommodation.aspx?">Accomm</a></li> i have this code.now on server side i want to compare this id(Accommodation) value and want id i.e.Accommodation.visible=true;

0 Answers  


How do you generate a strong name?

0 Answers  


Explain the difference between the while and for loop.

0 Answers  


Explain about .net assemblies?

0 Answers  


Can a try block have more than one catch block?

0 Answers  


Explain how to redirect tracing to a file?

0 Answers  


What is file extension of Webservices in .Net?

0 Answers   Arigo Infotech,


Explain about .NET services?

0 Answers  


Please explain what inheritance is, and why it's important?

0 Answers  


What is the difference between a namespace and assembly name in .net?

0 Answers  


Should I implement finalize on my class? Should I implement idisposable?

0 Answers  


Categories