Squashed 'FSI.Lib/' content from commit dceb500
git-subtree-dir: FSI.Lib git-subtree-split: dceb5008a2176c2b8ab5e55a73b1c25d31a7f841
This commit is contained in:
13
FSI.Lib/Alg/Casts.cs
Normal file
13
FSI.Lib/Alg/Casts.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace FSI.Lib.Alg
|
||||
{
|
||||
public class Casts
|
||||
{
|
||||
|
||||
public static dynamic Cast(dynamic obj, Type castTo)
|
||||
{
|
||||
return Convert.ChangeType(obj, castTo);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user