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
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Difference between && and &
Ankit Nandekar
May 25, 2011
4.1
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
This blog show you what is the difference between && and &.
1)&& is logical operator
true && true is true and everything else is false.
2)& is bitwise and.
(10 & 8) = 8
by using the following manipulation
00000110
&00000100
=00000100
Next Recommended Reading
Difference between Dataset and Datareader?