using System.Globalization; namespace MediaBrowser.Model.Extensions { /// /// Isolating these helpers allow this entire project to be easily converted to Java /// public static class IntHelper { /// /// Tries the parse culture invariant. /// /// The s. /// The result. /// true if XXXX, false otherwise. public static bool TryParseCultureInvariant(string s, out int result) { return int.TryParse(s, NumberStyles.Any, CultureInfo.InvariantCulture, out result); } } }