The Private keyword confers private access on one or more declared programming elements. Private elements are accessible only from within their declaration context, including from members of any nested types, for example from within a nested procedure or from an assignment expression in a nested enumeration.
The Private keyword is used in these contexts: