using System.Globalization;
namespace MediaBrowser.Model.Extensions
{
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);
}
}
}