VB.NET - What is implicit cast and explicit cast in .Net?

What is implicit cast and explicit cast in .Net?

Implicit cast:

- It allows conversion without and loss of data.
- It takes place only when there is no possiblility of loss of data.
- It does not require a casting operator.
- It is used when converting data from derived types of the base type.

Explicit cast:

- When there is any possibility of loss of data, an explicit cast is required.
- Explicit cast if not applied properly can result a loss of data precision.
- It requires a casting operator
- It is used when converting a base type or a derived type.
VB.NET - Imperative and declarative security
Imperative and declarative security - Imperative security is implemented by calling methods of Permission objects in code at run time........
VB.NET - Anchoring and Docking in .NET.
Anchoring and Docking - Anchoring treats the component as having the absolute size and adjusts its location relative to the parent form........
VB.NET - Garbage collection
Garbage collection - GC is automatic memory reclamation. It is low-priority thread that always runs in the background of the application. ........
Post your comment