public class User { public string Name { get; init; } public int Age { get; internal init; } // Age can only be set from within this assembly }