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 do the terms “boxing” and “unboxing” mean?
What is the advantage of .net?
What is an assembly? What are the different types of assemblies?
What are code contracts?
What is .net technology?
What is namespace in .net?
which methos do you invoke on the dataadapter control to load your generated dataset with data?
what is assembly?
Difference between assembly manifest & metadata
A developer company sends dlls to the client. Some client is not happy current functionality, so request some modification. Developer made some changes and send new dll to all clients. Some client is happy with old version, tell me minimal change to so that neither clients get affected?
what is the keyword used for self reference?
How different are interface and abstract class in .Net?