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
    
  
  
    
  | public static Dictionary<string, string> AssignSecretSanta(List<string> participants) | |
| { | |
| // shuffle the participants randomly | |
| Random rnd = new Random(); | |
| List<string> shuffled = participants.OrderBy(p => rnd.Next()).ToList(); | |
| // create a dictionary to store the assignments | |
| Dictionary<string, string> assignments = new Dictionary<string, string>(); | |
| // assign each participant to the next one in the shuffled list | 
  
    
      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
    
  
  
    
  | using System.Globalization; | |
| namespace ConsoleApp9 | |
| { | |
| internal class Program | |
| { | |
| private const int MAX_DAYS_WEEK = 7; | |
| static void Main(string[] args) | |
| { | 
  
    
      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
    
  
  
    
  | using SecretSanta.Entities; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Net.Mail; | |
| using System.Text; | |
| namespace SecretSanta.Website.Helpers | 
  
    
      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
    
  
  
    
  | using System; | |
| using System.IO; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace ProgressStreamTest | |
| { | |
| /// <summary> | |
| /// Stream that reports read progress | |
| /// </summary> | 
  
    
      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
    
  
  
    
  | using SkiaSharp; | |
| using SkiaSharp.Views.Forms; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Xamarin.Forms; | |
| namespace CQure | 
  
    
      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
    
  
  
    
  | using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| public class SaddlePoints | |
| { | |
| private int[,] array; | |
| public SaddlePoints(int[,] values) | |
| { | 
  
    
      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
    
  
  
    
  | /// <summary> | |
| /// Stream that reports read progress | |
| /// </summary> | |
| public class ProgressStream : Stream | |
| { | |
| /// <summary> | |
| /// The progress will be reported in percent | |
| /// when reading from the stream; | |
| /// </summary> | |
| private IProgress<double> _readProgress; | 
  
    
      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
    
  
  
    
  | { | |
| "is_success": true, | |
| "error_keys": [], | |
| "result": { | |
| "Name": "Deleted", | |
| "Description": null, | |
| "WorkflowId": "98778716-c2d5-451a-8f93-a2bcbf7a6e43", | |
| "Workflow": null, | |
| "Deadline": null, | |
| "IsFinal": false, | 
  
    
      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
    
  
  
    
  | { | |
| "pagination": { | |
| "total_count": 4, | |
| "page": 0, | |
| "page_size": 0, | |
| "TotalPages": 0 | |
| }, | |
| "is_success": true, | |
| "error_keys": [], | |
| "result": [ |