CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2002
    Location
    Bolton, UK
    Posts
    55

    Question VB.NET equivalent of C# << operator

    Hi

    Does VB.NET have an equivalent of C#'s left-shift << operator?
    If not, how could I implement it in a function?

    Thanks in advance!

  2. #2
    Join Date
    Jan 2003
    Location
    Amsterdam, Netherlands
    Posts
    97
    Yes, VB.NET (now) has bit shift operators,
    the same as in C#, they are << and >>.

    But.....
    You have to upgrade to VS 2003 to be able to work with them.
    Bit shifting is one of the new feature in VB.NET 2003

    Danny

  3. #3
    Join Date
    Jun 2002
    Location
    Bolton, UK
    Posts
    55

    Thanks

    Cheers for that Danny, looks like I'll have to speak to my boss about upgrading.

    PS Amsterdam is one cooool city!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured