I would like to be able to style different return values similar to how LINQPad styles NULL as italic green text. Specifically, I would like to style Boolean values TRUE and FALSE differently like blue and red.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
This can’t be done through the built-in stylesheet editor. However you could write an extension method that you invoke as follows:
If you put the extension method into a VS project and copy the DLL into the LINQPad plugins folder, it will be automatically available to all queries.
EDIT: You can now define that method in the ‘My Extensions’ query rather than having to create a project in VS.