Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 899297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:11:39+00:00 2026-05-15T15:11:39+00:00

I have VS 2010 with resharper (any version, now 5.1). The default naming convention

  • 0

I have VS 2010 with resharper (any version, now 5.1).

The default naming convention coming with R# about public or protected method’s name is: “ThisIsMethodName”, and I think it’s fine.
But, sometimes, the default naming of .NET methods, is not like I’m expecting, for example Page_Load, or (with a button click in webform designer panel) Button1_Click.
As you can see, we have the underscore between words.

Why we have this and how (if it is possible) I can remove all underscores from my solution?

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T15:11:40+00:00Added an answer on May 15, 2026 at 3:11 pm

    These underscores are created by the default Visual Studio WinForm designer (when you double click on the event name in properties panel VS creates a method with this name). I am not sure what is the convention in WCF. This doesn’t have anything to do with resharper – you will observe the same behaviour if you disable it. I don’t think it is configurable.

    You can always rename these methods after they are created (in the usual way – using Resharper).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i see they have a version of resharper for vs 2010 http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+5.0+Nightly+Builds can i
I have Visual Studio 2010 and ReSharper installed and after looking for about an
We have installed TFS 2010 RC. By default it creates a project collection called
Now that VS 2010 is officially released, I'm thinking of upgrading to Resharper 5.0
I am using C# 3.5 and Linq. I have ReSharper 6.1 on VS 2010.
Using VS 2010 and the latest version of ReSharper... When I create a BaseController
I have recently started using Visual Studio 2010 and ReSharper 5.1. It's working pretty
I have a method: static void FileChangesDetected(List<ChangedFiles> files) I used Visual Studio 2010 and
I have a Visual Studio 2010 solution containing several C# projects, with Resharper 5.1
I have used up my 30 day trial and want to buy Resharper now.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.