What are all the ways to find out types of objects?
Answers were Sorted based on User's Feedback
Answer / rajesh
We have two ways to find out the type of Object
1)Typeof(obj)
It takes parameter and gives the corresponding
type as return data type
2) GetType()
It gives the current Instance of the object.
| Is This Answer Correct ? | 27 Yes | 1 No |
What is the base class of .NET?
Describe the difference between inline and code behind?
Explain the differences between Server-side and Client-side code?
What are the differences between Trace and Debug?
Write a code snippet to implement the indentation in json in web api.
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
what is the use of untyped data set ?
Differences between session state and Application state?
What are server-side comments in ASP.NET?
What are the features of asp net?
What is Web API Routing?
when we write the html code with runat = server it works like a server control than why we use the server control?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)