Tag Archives: end of line comments

Extract comments from a group of files in C#

I’m finishing up another book (I’ll announce it when it’s ready in a week or so) and I’m working through one of the thornier issues of any programming book: spell-checking code comments. I already have an example to extract comments … Continue reading

Posted in files, strings, syntax | Tagged , , , , , , , , , , , , | Leave a comment

Extract comments from a C# file in C#

The idea behind this example is to extract comments from a C# code file so you can spellcheck them. This is a fairly simple, manual approach. Some commercial products may be able to spellcheck comments and strings for you. This … Continue reading

Posted in files, strings, syntax | Tagged , , , , , , , , , , , , | 1 Comment