What is the difference between this type of conversion expression? What is better?
// One way
var t:MyClass = MyClass(o);
// Another
var t:MyClass = o as MyClass; Oh, I knew that one befor
What is the difference between this type of conversion expression? What is better?
// One way
var t:MyClass = MyClass(o);
// Another
var t:MyClass = o as MyClass; Oh, I knew that one befor
I have this F# class
module File1
open System
open System.Collections.Generic
type TimeRangeList<'e>(getter: DateTime * DateTime -> List<'e>, ?maybe_tFrom: DateTime, ?maybe_tTo: DateTime) as
I tried this code:
class A
{
virtual void foo( ) = 0;
};
class B
{
virtual void foo() = 0;
};
class C: public A, public B
{
//virtual void A::foo(){}
//virtual void B::foo(){}
virtual