#region question in vb.net

What are the benefits of using
#region
...
# end region
in our programming languages like vb.net.
Why we use this block?

please tell me if any person know

thanking you

Keep in Touch


[566 byte] By [irvendeep] at [2007-12-25]
# 1

It lets you expand and collapse that region of code in development environments such as Visual Studio. Some people also use it to group class members. That's it, it doesn't affect the behavior of your code in any way.

MattiasSj?gren at 2007-9-3 > top of Msdn Tech,SQL Server,SQL Server Database Engine...

SQL Server

Site Classified