/ Published in: C#
Enables to convert types using generics. Simple and clean.
Expand |
Embed | Plain Text
public class GenericConverter { public static T Parse<T>(string sourceValue) where T : IConvertible { } public static T Parse<T>(string sourceValue, IFormatProvider provider) where T : IConvertible { } }
You need to login to post a comment.
