Comrades, tell me, please
static void Main() { object [] A = new string[3] { "1", "2", "3" }; Console.WriteLine(A[1]); } Why is the value of 1 index displayed? After all, in theory, it should not be displayed, since object is just a base class, and string is derived from it. But the base class does not have access to the elements of the derivative, except for those that themselves were inherited from the base. That is, it turns out that the objekt should not access the array.
Here, for example, it is correct that there is no access
using System; class a { public int x = 9; } class b : a { public new int x = 88; } class c : b { public new int x = 388; } class d { static void Main() { object a = new c(); Console.WriteLine(ax); } }