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

  • Home
  • SEARCH
  • 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'm using C# 2010 Express and Sql Compact. I have a table named as
hey guys, i am using TFS 2010, i have uploaded content on TFS server,
Help or suggestion will do. I'm installing the Visual Studio Express 2010, i know
I have an excel sheet with two columns of interest Year and Donations. The
I have a directory structure : ../POC/mud/ client/ common/ server/ and i am trying
I have created infopath form library in SharePoint sever2010. I am using Windows server
I have a project in development that targets .NET 3.5. I have no choice
Hi I installed VS 2010 and sql server management studio 2008 express. I full
I have an ASPNET MVC application that works fine locally but when I deployed
ASP.NET MVC 3 was released on Jan 13, 2011. I was able to install

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.