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 |
What are possible implementations of distributed applications in .NET?
How do we access crystal reports in .net?
How do you generate a strong name?
Explain what is the difference between a class and an object?
What is the difference between "using system.data;" and directly adding the reference from "add references dialog box"?
What are remotable objects in .NET Remoting?
What is the difference between reference type and value type?
What are situations when you register .NET assembly in GAC ?
ctype(123.34,integer) - should it throw an error? Why or why not?
In code behind class, name the type of code found. Is it the server side code or client side code?
Where does the gac exist ?
What are the different types of remote object creation mode in .net?