Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

This question already has an answer here:

I found that neither on SO. nor here, on meta, LINQ syntax keyword let isn't being highlighted:

from f in db.Foo
let b = f.Bar
where b.Count == 1
select new FooBar(b);

Please add.

share|improve this question

marked as duplicate by Rory, Mat, Martijn Pieters, animuson, Lucifer Jun 16 '13 at 1:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 5 down vote accepted

Because Stack Overflow uses a generic syntax highlighting algorithm this is always going to happen. For any given language some words will be highlighted inappropriately others won't be highlighted at all. See this question for another example.

Unless they change the markdown so you can specify the language this will remain unfixable. See Syntax highlighting hints

share|improve this answer
If you want to have fun with the syntax highlighting just make a VB sample with comments – Matthew Whited Jun 24 '10 at 14:13
@Matthew: This is the most annoying behavior of this highlighter and I don't know why it isn't fixed yet! – abatishchev Jun 26 '10 at 7:39
But if they have from, where and select on the list of blue-highlighted keywords, can't they just add let to the list? So there will be a few more false-positives - no one will notice - there are a ton of them anyway... – Allon Guralnek Aug 2 '10 at 10:45

Not the answer you're looking for? Browse other questions tagged .