Code Inspection: Append to collection expressionLast modified: 21 March 2024tipYou can suppress this inspection to ignore specific issues, change its severity level to make the issues less or more noticeable, or disable it altogether.If a collection expression is immediately followed by Add() calls on the collection, JetBrains Rider suggests improving the structure and readability of the code by integrating the added items into the collection expression:BeforeList<string> numbers = ["one", "two"];numbers.Add("three");numbers.Add("four");AfterList<string> numbers =[ "one", "two", "three", "four"];