// racers is list<racer> type racers.ForEach(Console.Writeline);
from this code, how is console.writeline excepted as a parameter for the ForEach Method when the parameter type is Action<t> ?
also why was console.writeline in the above statement excepted without parenthesis? what does console.writeline mean without parenthesis?
thanks
ray

New Topic/Question
Reply



MultiQuote






|