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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:28:01+00:00 2026-05-28T06:28:01+00:00

Recently, using C#, I just declared a method parameters using the Latin character ñ

  • 0

Recently, using C#, I just declared a method parameters using the Latin character ñ, and I tried to build (compile) my entire solution and it works, therefore I was able to execute my program. But I’m curious to know if it is wrong to use special characters such as Latin characters in a source code written in C#? If it is wrong, why?

Besides it is more legible and universal to write code in English, are there any other reason to not use special characters in a C# source code?

  • 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-28T06:28:02+00:00Added an answer on May 28, 2026 at 6:28 am

    Let me break this down into several questions.

    Is it legal according to the specification to use non-Roman letters in C# identifiers, strings, and so on?

    Yes, absolutely. Any character that the Unicode specification classifies as a letter is legal. See the specification for the exact details.

    Are there any technical issues regarding non-Roman letters in C# programs?

    Yes, there are a few. As you are probably aware, you can both “statically” and “dynamically” link code into an application, and the compiler is an application. We’ve had problems in the past where the compiler had a statically-linked-in old version of the Unicode classification algorithm, and the editor had a dyamically-linked-in current version, and now the editor and the compiler can disagree on what is a legal letter, which can cause user confusion. However, the accented Latin characters you mention have been in the Unicode standard so long that they are unlikely to cause any sort of problem.

    Moreover, a lot of people still use old-fashioned editors; I learned how to program at WATCOM back in the late 1980’s and I still frequently use WATCOM VI as my editor. I can sometimes code faster in it than I can in Visual Studio because my fingers are just really good at it after 23 years of practice. (Though these days I use Visual Studio for almost everything.) Obviously an editor written in the 1980’s is going to have a problem with Unicode.

    Are there any non-technical issues regarding non-Roman letters in C# programs?

    Obviously, yes. I personally would rather use Greek letters for generic type parameters, for instance:

    class List<τ> : IEnumerable<τ>
    

    or when implementing mathematical code:

    degrees = 180.0 * radians / π;
    

    But I resist the urge in deference to my coworkers who do not particularly want to be cutting and pasting, or learning arcane key combinations, just to edit my code.

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

Sidebar

Related Questions

I've recently began using dTrace and have noticed just how awesome it is. Its
I recently started using scons to build several small cross-platform projects. One of these
I just recently began using synthesized instance variables in my iPhone projects. The problem
I just recently started using this library (the one from CodePlex), but I ran
I've just recently been using the EF just because I thought it was simplier
I've just recently started using SQLAlchemy and am still having trouble wrapping my head
I've recently started using Git and am having trouble with just one thing. How
I just recently begun using TFrames heavily (OK, yes, I've been living under a
I've been using SharePoint Designer for yrs now at my job and just recently
I've just recently started using XNA and now I face a beginners problem, performance.

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.