Created
          August 6, 2022 15:45 
        
      - 
      
 - 
        
Save vvolodin/792d408ad28ff928a31d9cd73279ae5f to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | int[] first = { 1 }; | |
| int[] second = { 1, 2, 3, 4 }; | |
| int[] third = { 1, 1, 0, 3, 5 }; | |
| Console.WriteLine(first is [1, 2]); // false, length | |
| Console.WriteLine(second is [1, .., 4]); //true | |
| Console.WriteLine(third is [_, >1, ..]); //false, 1 is not > 1 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment