Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the proper way to suggest features to be added to the C# language?

For example, I would like to have an operator similar to ?? but for selecting the min or max values.

I'd like a <? b to expand to a < b ? a : b likewise for >?

share|improve this question
Contact the team responsible for the language at Microsoft. – Bernard Jan 27 '12 at 20:52
Is there something wrong with using the Min or Max functions? – Zach L Jan 27 '12 at 20:53
Good luck getting this feature added... – ChaosPandion Jan 27 '12 at 20:54
While I didn't intend this question to be about the relevance of this specific feature request. I like it because it could support any class that overloads < instead of the limited selection of overloads for the Math.Min and Math.Max functions. Also it is cleaner for 3 or more. Math.Min(a, Math.Min(b, c)) vs a <? b <? c. – Josh Jan 27 '12 at 21:05
By the way F# can easily supports this feature: let inline (<?) (a:^t) (b:^t) = if a < b then a else b – ChaosPandion Jan 27 '12 at 21:19
up vote 17 down vote accepted

Microsoft Connect is the central Hub regarding all suggestions about Microsoft products.

Concerning Visual Studio and the .NET ecosystem, you will have to go through the "Visual Studio and .Net Framework" product and you will end up on the Visual Studio User Voice website where ideas can be submitted. You can also find discussions and issues on GitHub, for the open-sourced version of .NET.

Concerning C#, now that roslyn is open-source, the evolution of C# is in the open. You can request and discuss new features of C# on GitHub.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.