Forum: C# May 15th, 2007 |
| Replies: 7 Views: 5,420 well well well ,
i made a C# program that now reads a file and excluding the comments out.. that worked .. thanks to all . :) |
Forum: C# May 3rd, 2007 |
| Replies: 7 Views: 5,420 i gotta use regex.match(regularexpression) . I am using a streamreader to read the whole file and then the contents of the file are match with the pattern of the regular expression . and this regular... |
Forum: C# May 2nd, 2007 |
| Replies: 7 Views: 5,420 Hi ,
I wanted to know how to write a c# code that reads from a file and counts the number of lines . This count should exclude the comments present
eg :
//this is test
using System;
... |