Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Visual studio change color of temp variable in Lambda

With my current color scheme, the temp variables in C# Lambda expressions are difficult to look at. If possible, I need to change the color.

In this example, I need to target the color of x:

var name = names.Where(x => x == "John");

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

in Visual Studio menu Tools > Options, then expand Environment / Fonts and Colors. In the list go to User Members - xy or User Types - xy to change all the colors. You are looking for User Members - Parameters.

See image and doc here.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading