Cannot Convert from Method Group to Object - C#

前端 未结 6 1886
野趣味
野趣味 2021-01-12 03:23

I am trying to get familiar with C# and tried out the following program - it just outputs the average of the even numbers in the Array.

6条回答
  •  执念已碎
    2021-01-12 03:49

    This was a careless mistake on my part, I was trying to call Method like a property instead of Method() like a method

提交回复
热议问题