4 ms·
I actually use OfType<TR> to remove null elements as suggested by the doc. https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.oftype?view=net-9
by meow_cat 1y ago
I actually use OfType<TR> to remove null elements as suggested by the doc. https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.oftype?view=net-9.0 https://learn.microsoft.com/en-us/dotnet/api/system.linq.enu... Performance-wise, where is this situated?