I'm trying to cast a base object into a derived object.
Like so:
DerivedClass castedBaseObject = (randomDerivedObject.GetType())originalBaseObject;
The example above does not work, throwing the following error: error CS1003: Syntax error, ',' expected