https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.datagridviewcellcollection.system-collections-ilist-remove?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-10.0
DataGridViewCellCollection.IList.Remove(Object) Method (System.Windows.Forms) | Microsoft Learn
Removes the first occurrence of a specific object from the collection.
remove objectwindows formsilistmethodsystem
https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.datagridviewcellcollection?view=windowsdesktop-10.0&viewFallbackFrom=net-10.0
DataGridViewCellCollection Class (System.Windows.Forms) | Microsoft Learn
Represents a collection of cells in a DataGridViewRow.
class systemwindows formsmicrosoftlearn