Find Content Value in String

  1. using System;  
  2. using System.Collections.Generic;  
  3. using System.Linq;  
  4. using System.Text;  
  5. namespace MyProject  
  6. {  
  7.     public class MyClass  
  8.     {  
  9.         string strAccess = "Create,View,Modify,Delete,Print";  
  10.         public bool FindContent()  
  11.         {  
  12.             if (strAccess.Contains("Modify") == truereturn true;  
  13.             else return false;  
  14.         }  
  15.     }  
  16. }