It should be noted that GC.MaxGeneration , which is constant for the lifetime of the application, is itself a detail of the implementation:
Developer Notes
For this implementation, the value of the returned MaxGenerationproperty is guaranteed to remain constant for the lifetime of the application.
, MaxGeneration 2 .NET, ( , getter).
. , Mono Boehm non-generational GC (MaxGeneration 0 ), SGen generational GC ( , MaxGeneration 1 ).