C#: Variable in einen Type umwandeln (casten), welcher in einer anderen Variablen gespeichert ist Posted by Mathias LipowskiC# / Leave a comment Tags: C#, cast, type, variable Hierfür hilft Convert.ChangeType weiter:object foo = GetFoo(); Type t = typeof(double); double bar = Convert.ChangeType(foo, t); Related