C# Function Seperator

I'm switching from VB.NET to C# as my primary development platform.

The one thing I miss is the line that separates the functions in the VB IDE.  I can't find any way to have this line displayed in C#, is there a way to do so?

Image Attached:

Who is Participating?
me neither know. I use region for encapsulate functions.

like this:

#region ** tools ************************************************************************

private void sumSomething()

AndyAinscowFreelance programmer / ConsultantCommented:
Just leave some blank lines eg.

void Foo()

void Bar()
AndyAinscowFreelance programmer / ConsultantCommented:
ps.  As far as I know it doesn't exist as such in displaying C# files.
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Rose BabuSenior Team ManagerCommented:

Why do you need the line separation on C# code? it is not necessary in your case.

By the way you are converting the application, you should worry about the code conversion only.

The line separator will come for VB applications NOT for C# application. and this will not make any error/issue on building/running application.

so just go-ahead on your code conversion and run the application successfully.

Happy Programming.

MCIMAuthor Commented:
Thanks for the responses.  

I want the line separation because I find it useful.  I'm not converting any applications, I just included the image as an example of what I was looking for.

I guess I'll try to create a code snippet to insert between functions, putting multiple blank lines will limit the amount of code that can be displayed on the screen - increasing the need to scroll.

I like the #region option as well.. thanks again!
AndyAinscowFreelance programmer / ConsultantCommented:
You could also just do

the // makes it a comment and the rest of the line is ignored by the compiler.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.