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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:15:28+00:00 2026-05-26T16:15:28+00:00

I was using ReSharper plugin on VS2010 and i was generating an interface method.

  • 0

I was using ReSharper plugin on VS2010 and i was generating an interface method.
ReSharper put an @ on the parameter name. WHat is that used for?

int Count(Func<ContratoList, bool> @where);

Whats the difference for

int Count(Func<ContratoList, bool> where);

Thanks!

  • 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-26T16:15:29+00:00Added an answer on May 26, 2026 at 4:15 pm

    The @ symbol allows you to use reserved words in a variable name.

    int @class = 1;
    
    void MyMethod(int @goto);
    
    bool @public { get; set; }
    

    As Marc correctly pointed out in his comment and his answer, ReSharper is actually wrong to do this because where is a Contextual Keyword and is not actually a reserved word, so your method will compile without the @.

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

Sidebar

Related Questions

I am using ReSharper with C#/VS2010. I am running a seperate thread that needs
I recently upgraded to using ReSharper 5 (currently in beta). I noticed that in
Do you know of a ReSharper 5.1 plugin that allows me to go to
I started using Resharper and it indicated when a method could be made static.
I have been using ReSharper for quite a long time and get used to
Using Resharper, I extracted an interface of an existing class. This class has some
I just started using Resharper. One of its features is that it suggests changes
I'm using ReSharper for my solution (that contains 10 projects) and I'd like to
When using Resharper to encapsulate a class's properties, is there a way to get
I've been using ReSharper for the past months and, advertising aside, I can't see

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.