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
john ranella
1.5k
193
5.8k
error CS0029
Mar 16 2015 11:14 AM
hi,
i've this code:
----------------------------------------------------------------------
static byte EnabledFlags = 0;
static int index = 0;
public static void Main (string[] args)
{
if ((EnabledFlags & (1 << index)))
{
return;
}
}
----------------------------------------------------------------------
but the error is :
error CS0029:Cannot implicitly convert type 'int' to 'bool'
what is the soluytion for this error or can i write the same code in another way?
Reply
Answers (
1
)
Printing Is Coming Blank while PrintPreview Shows The Result
how to access C# application remotly