Skip to content
Loading
+1
  • +1
    inspite of i did what that you wrote anaway the scan doesn't work
    +1
  • Amit Gupta
    +1
    We have just recrified your compile time error in respect of its execution.
     
    However, the scenario of your program cannot be determined with a piece of snippet that you had captured. It was a bad practice to write the same thing in catch block.
     
    Just generally aware that writing code on catch block doesn't mean your code is safe, if any error occured it can thrown exception.
     
    Coming to your question for not working is may not match with the condition in Regex.IsMatch function.
     
    I believe that it is not a real question and you are trying to catch the workflow of C#, there are various forms of Regex, please do read the documentation before using it.
     
    Good Luck 
    +1
  • Bryian Tan
    0
    why not virus++ ?
    0
  • Bryian Tan
    0
    by the way, what the code suppose to do? Get the count and display it?
    0
  • 0
    The code is anty virus, I can choose folder and check how viruses there are but can't acan
    0
  • 0
    Do you can please write me how repair the error?
    0