How can i see the code inside of ForEach<T>(T[] array, Action<T> action)?
Not the definition only or how to use but the code inside of this method?
I just need to see how to change the parameter type when i put T as a type passed on that method.
Example:
Array.ForEach<string>(string[] array, Action<string> action); Array.ForEach<int>(int[] array, Action<int> action); Array.ForEach<whateverTypeHere>(whateverTypeHere[] array, Action<whateverTypeHere> action);
If i put any type inside <> the parameters also will change. How to do it anyway? :)