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 3610342
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:44:25+00:00 2026-05-18T21:44:25+00:00

I just used Resharper and it made me feel as if i don’t know

  • 0

I just used Resharper and it made me feel as if i don’t know how to code at all in C#; it gave me a lot of suggestions; few of them are:

1) SomeObject o = new SomeObject();

Resharper will convert to :

var o = new SomeObject()

2) this.Loaded += new RoutedEventHandler(MainPage_Loaded);

to

this.Loaded += MainPage_Loaded;

3) convert my variables and putting _ in front of all instance variables.

4) Removing class parent’s name. I tested this on Silverlight.

public partial class MainPage : UserControl

to

public partial class MainPage

5) replace instance variable

 this.variable = somevalue

to

 variable = somevalue

Are all of these really necessary? Is it really going to affect the efficiency of my program? I mean what good is it going to do by replacing my class names with var keyword. After all var is also replaced with class name at compile time. Is it doing because it has been programmed to do or do these things really affect in some or another way?

  • 1 1 Answer
  • 0 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-18T21:44:25+00:00Added an answer on May 18, 2026 at 9:44 pm

    This behaviour is all configurable in ReSharper settings. There are a mix of code clean-up rules (e.g. whether to replace usages with var – I don’t!), code style rules (e.g. variable naming) and formatting rules (e.g. how to place braces).

    I wrote an article that gives an overview of these settings and how they can be used to shape coding standards and then be automatically applied via code cleanup:

    http://gojisoft.com/blog/2010/05/10/coding-standards-using-resharper/

    At the end of the day a lot of them are concerned with coding style and removing redundant code, they have no affect on the compiled code. You can configure many of them to suit you or your team’s coding style.

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

Sidebar

Related Questions

I used to see any .net source code (like System.String) with ReSharper and Visual
I just used the pyFLTK installer ( http://sourceforge.net/projects/pyfltk/ ). That gave me the DLL
I have just used htmlagilitypack to extract all link as htmlnode from an html
I am used to code in VisualStudio with Resharper. And I code fast with
I just used this code from a mod rewrite generator, but if I try
I just used Android SDK Manager to update Android SDK Tools to revision 17,
I've just used it for the first time - consider: IGameObject void Update() IDrawableGameObject
I've just used ActionBar Sherlock to implement the android action bar on pre 3.0
I'm new to PHP development and I just used Zend yesterday. One problem I'm
I am working in android. I just used a video player. I am accessing

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.