Horje
upcasting and downcasting in c# Code Example
upcasting and downcasting in c#
class Employee
{
    // some code
}
class Manager : Employee
{
    //some code
}
// casting can be done by the following
if (employee is Manager)
{
    Manager m = (Manager)employee;
}
// or with the as operator like this:
Manager m = (employee as Manager);





Csharp

Related
pyqt single instance Code Example pyqt single instance Code Example
how to destroy bridges animal crossing Code Example how to destroy bridges animal crossing Code Example
EntityFramework: using tables in different scemas Code Example EntityFramework: using tables in different scemas Code Example
Avoid auto-filling persian time picker Code Example Avoid auto-filling persian time picker Code Example
pun 2 matchmaking custom room properties Code Example pun 2 matchmaking custom room properties Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9