fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. string caminho = "C:\\anacarvalho\\Database\\Updates\\2017\\2017_04\\20170419_AC";
  8. string raiz = "C:\\anacarvalho\\Database\\Updates";
  9. if(caminho.IndexOf(raiz,StringComparison.OrdinalIgnoreCase) != -1)
  10. {
  11. Console.WriteLine("UAU");
  12. }
  13. }
  14. }
Success #stdin #stdout 0s 132160KB
stdin
Standard input is empty
stdout
UAU