TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
A Repasky
NA
231
183.7k
Error on int in if statement
Jan 19 2013 9:04 PM
I have this defined in one class:
public
static
int
ProfCnt = 0;
Then I need to in another class use in an if statement:
if (
History
.CountProfRec != 0)
But I get error:
Error 1 Operator '==' cannot be applied to operands of type 'method group' and 'int'
Does anyone know what I have to do?
Thanks for the help,
arep.
Reply
Answers (
2
)
C# linq to sql
Site unblock