What does "<<" mean in C#?

Posted by Simon G on Stack Overflow See other posts from Stack Overflow or by Simon G
Published on 2010-03-22T15:32:46Z Indexed on 2010/03/22 15:51 UTC
Read the original article Hit count: 499

Filed under:
|
|

Hi,

Basically the questions in the title. I'm looking at the MVC 2 source code:

public enum HttpVerbs {
    Get = 1 << 0,
    Post = 1 << 1,
    Put = 1 << 2,
    Delete = 1 << 3,
    Head = 1 << 4
}

and I'm just curious as to what "<<" does.

Thanks

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#