Explain the two different types of typecasting?

Answer Posted / hrindows@gmail.com

 Implicit: Defines the storing of values from smaller data types into larger data types, performed by the compiler only.
 Explicit: Defines the storing of values from larger data types into smaller data types that may result in information loss.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Will my .net app run on 64-bit windows?

697


Whate are resource files?

691


Explain how to spawn a thread?

624


Explain what is the difference between a class and an object?

702


Explain what are the deferred execution and the immediate execution in linq?

655






How do you generate a strong name?

695


What is namespaces in .net?

738


How to implement getcommon method in class a? Are you seeing any problem in the implementation?

713


Explain the difference between the stack and the heap?

614


What is garbage collection in .net? Explain the garbage collection process?

655


Write the .net syntax for 'for loop'?

660


What is .net and why it is used?

614


What is smart navigation in .net?

667


Difference between abstract class and interface in .net?

652


Do you know what is garbage collector?

671