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 the Project related questions generaly asked in the interview. Mail to: ana_net1@yahoo.com
Describe difference between inline and code-behind?
how we can capture the value in textbox when selectedvluechanged event of gridview is fired
What method do you use to explicitly kill a users session? How?
What is Ajax design pattern in .NET?
What versions of .net are there?
Explain Different kinds of methods?
What is a windows process in .net?
Which file is taken by compiler when we have both file Application and Server Configuration file?
What is Garbage Collection in .Net and what is the Garbage collection process?
How many types of exception handlers are there in .NET?
What tools is used to develop .NET applications?