I18NCommander/I18N Commander/Processor/ExtensionsData.cs

10 lines
237 B
C#
Raw Permalink Normal View History

2023-02-13 19:47:22 +00:00
namespace Processor;
public static class ExtensionsData
{
public static IEnumerable<T> ReverseIt<T>(this IList<T> items)
{
for (var i = items.Count - 1; 0 <= i; i--)
yield return items[i];
}
}