private void AddQuoteToFile(DeskQuote quote)
        {
            var quotesFile = @"quotes.json";
            List <DeskQuote> deskQuotes = new List <DeskQuote>();

            if (File.Exists(quotesFile))
            {
                using (StreamReader reader = new StreamReader(quotesFile))
                {
                    string quotes = reader.ReadToEnd();
                    if (quotes.Length > 0)
                    {
                        //deserialize quotes(Newtonsoft)
                        deskQuotes = JsonConvert.DeserializeObject <List <DeskQuote> >(quotes);

                        //deserialize quotes(Microsoft)
                        //deskQuotes = System.Text.Json.JsonSerializer.Deserialize<List<DeskQuote>>(quotes);
                    }
                }
            }

            deskQuotes.Add(dq);
            SaveQuotes(deskQuotes);
        }
 private void AddQuote_Load(object sender, EventArgs e)
 {
     dq = new DeskQuote();
 }