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 data types in .NET?
Who is using .net core?
What is Event - Delegate? clear syntax for writing a event delegate
I'm having some trouble with cas. How can I troubleshoot the problem?
Can we have same method with same name and signature using partial classes
What is Garbage Collection in .Net? Garbage collection process?
What is UDDI and how to register a web service ?
WHAT IS .net
What are the new thee features of com+ services, which are not there in com (mts)?
how we can capture the value in textbox when selectedvluechanged event of gridview is fired
What is meant fulltrust?
How do I use the thread pool?