Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

C# GURU

faizmcsdfaizmcsd Member Posts: 1
Hi there,
I need to make a tool for counting number of lines in .cs file? Can anybody helo me to
do this?
Regards,
Faiz

Comments

  • edgecrush3redgecrush3r Member Posts: 2
    : Hi there,
    : I need to make a tool for counting number of lines in .cs file? Can anybody helo me to
    : do this?
    : Regards,
    : Faiz
    :

    That should not be to hard.. Use the textreader and count the number of lines, or use a regular expression to search amount of new lines with the regExp command.. (
    ) ..

    Cheers,
    Tony

  • chamsterchamster Member Posts: 662
    : number of lines in .cs file?

    A .cs file is actually a text file and you can always regard it as such.

    You can check the number of lines of any file, actually. However, checking the number of lines in a .pdf file is not very sane :-).


    Kind Regards
    Konrad
    ----------------------------
    (+46/0) 708-70 73 92
    chamster@home.se
    http://konrads.webbsida.com

  • Justin BibJustin Bib USAMember Posts: 0

    || http://forcoder.org || free ebooks and video tutorials about ( Python, Objective-C, Ruby, C#, C, Visual Basic, Java, MATLAB, Assembly, C++, Scratch, Visual Basic .NET, PHP, PL/SQL, R, Go, JavaScript, Swift, Delphi, Perl Julia, Clojure, Hack, Crystal, Logo, Prolog, D, F#, ABAP, VBScript, FoxPro, COBOL, Awk, Erlang, Scheme, Transact-SQL, LabVIEW, Kotlin, Apex, Bash, Ada, Alice, SAS, Dart, Fortran, Rust, Lua, ML, Lisp, Scala ) _

Sign In or Register to comment.