Give An example of a ctype and directcast.
Answers were Sorted based on User's Feedback
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 |
textbox = CType(obj, TextBox)
textbox = DirectCast(obj, TextBox)
| Is This Answer Correct ? | 15 Yes | 8 No |
Define code access security (cas)?
<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;
How do you generate a strong name?
Explain the difference between the while and for loop.
Explain about .net assemblies?
Can a try block have more than one catch block?
Explain how to redirect tracing to a file?
What is file extension of Webservices in .Net?
Explain about .NET services?
Please explain what inheritance is, and why it's important?
What is the difference between a namespace and assembly name in .net?
Should I implement finalize on my class? Should I implement idisposable?