C# IEnumerable Executes More Than Once - 04.01.26 - ErcanOPAK Unexpected duplicate work. WhyDeferred execution. Fix var data = query.ToList(); Related posts:ASP.NET Core “IOptions Snapshot Turns Slow” — The Startup MisuseC# — DateTimeKind.Unspecified Breaks SerializationHow to trim whitespaces between characters in C# Post Views: 3