Results 1 to 2 of 2

Thread: [2005] Regions (Simple Question)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2006
    Location
    Surabaya, Indonesia
    Posts
    163

    [2005] Regions (Simple Question)

    How come C# can place region inside a sub while VB can't ? Is there an option or something that can enable this ?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Regions (Simple Question)

    They're two different languages written by two different groups of people. The creators of VB.NET probably thought that if you have a method long enough to require regions then you should almost certainly be breaking it up into multiple methods, and they would be correct.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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