I have a List<MemberData>
storeCustomers
with the following type in C#,
public class MemberData
{
public string clientId;
public string displayName;
public bool isBlocked;
}
Let's say my list has 100 members with different clientId
and displayName
, but all have the same isBlocked = true
. If I want to change the same field starting at the index 35 until the end, for isBlocked = false
, how do I do it? I want to keep the same List and avoid truncating.