Addressed warnings in Chapter 03
MODIFY
src/Chapter03/Listing03.25.UsingLengthMinus1InTheArrayIndex.cs
src/Chapter03/Listing03.25.UsingLengthMinus1InTheArrayIndex.cs
+// Justification: Demonstrating how to use the length to index the last item in the array.
+#pragma warning disable IDE0056 // Use index operator
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_25
{
public class Program

MODIFY
src/Chapter03/Table03.01.TupleDeclarationAndAssignment.cs
src/Chapter03/Table03.01.TupleDeclarationAndAssignment.cs
}
// 8.
+// Justification: Demonstrating the fact that the name is an alias to ItemX.
+#pragma warning disable IDE0033 // Use explicitly provided tuple name
public void AssignANamedItemTupleToASingleImplicitlyTypedVariableAndThenAccessTheTupleItemsByTheirItemNumberProperty()
{
var countryInfo =
countryInfo.Item1}, {countryInfo.Item2}: {
countryInfo.Item3}");
}
+#pragma warning restore IDE0033 // Use explicitly provided tuple name
// 9.
public void DiscardPortionsOfTheTupleWithUnderscores()

Addressed warnings in Chapter 03