I have this code:
games is a class and its has this function in it:
It gives me this error when i try to build it:
Code:
int totalNumberOfGames = games.totalGames;
Code:
public int totalGames() { return processNames.Count(); }
Error 1 Cannot convert method group 'totalGames' to non-delegate type 'int'. Did you intend to invoke the method? C:\Documents and Settings\admin\ Desktop\Project \Test\Test\frmM ain.cs 98 42 Test
Comment