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 >?
Software Engineering Stack Exchange is a question and answer site for professionals, academics, and students working within the systems development life cycle. It only takes a minute to sign up.
Sign up to join this communityMicrosoft 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.
There is also a new Q/A site for both Visual Studio and TFS.
Concerning C#, now that roslyn is open-source, the evolution of C# is discussed in the open, and is still designed by the C# Language Design Team (LDT). You can request and discuss new features of C# on GitHub.
let inline (<?) (a:^t) (b:^t) = if a < b then a else b