¡@

Home 

c# Programming Glossary: type1cache

General type conversion without risking Exceptions

http://stackoverflow.com/questions/2111280/general-type-conversion-without-risking-exceptions

cached conversion method. Dictionary Type ConversionCache type1Cache null ConversionCache type2Cache null if _Types.ContainsKey s.GetType.. type2Cache null if _Types.ContainsKey s.GetType type1Cache new Dictionary Type ConversionCache _Types.Add s.GetType type1Cache.. new Dictionary Type ConversionCache _Types.Add s.GetType type1Cache else type1Cache _Types s.GetType if type1Cache.ContainsKey..