Hello, i was codding a program with c# and i get an error called "cannot explicitly call operator or accessor"
here is the code:
Error 1 'System.Collect ions.Generic.Li st<LFS_External _Client.clsConn ection>.Count.g et': cannot explicitly call operator or accessor C:\Documents and Settings\Martyn as\My Documents\Visua l Studio 2008\Projects\c ruise\cruise\Me ssageHandler.cs 847 26 cruise
here is the code:
Error 1 'System.Collect ions.Generic.Li st<LFS_External _Client.clsConn ection>.Count.g et': cannot explicitly call operator or accessor C:\Documents and Settings\Martyn as\My Documents\Visua l Studio 2008\Projects\c ruise\cruise\Me ssageHandler.cs 847 26 cruise
Code:
if (cops.get_Count() > 0)
{
long share = (availableMoney / 5L) / ((long) cops.get_Count());
Comment