using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
namespace Umbraco.Tests.Benchmarks
{
///
/// Want to check what is faster OfType or Cast when a enurable all has the same items
///
[MemoryDiagnoser]
public class LinqCastBenchmarks
{
public LinqCastBenchmarks()
{
_array = new List