I have a list:
private List<OutlinedObject> allObjects = new List<OutlinedObject>();
that contains elements with a public method
Pulse(string a, int b) {}
and I want to call methods from all elements in array not iteratively. I think it should be like this, but it doesn't work:
allObjects.Pulse("prop", 10);
Can I do this in C#? Is it possible to do this without using delegates?