Advertisement
Guest User

calling + definition

a guest
Sep 12th, 2021
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.37 KB | None | 0 0
  1. //wc
  2. CountWhat what;
  3. Console.WriteLine(tools.Wc(filename, what));
  4. //grep
  5. List <string> Lines = tools.Grep(filename, searchText);
  6. while (i < Lines.Count)
  7.                     {
  8.                         Console.Write(Lines[i]);
  9.                         i++;
  10.                     }
  11.  
  12. //definition of what :
  13. public enum CountWhat
  14.     {
  15.         l = 0,
  16.         w = 1
  17.     }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement