Home

Fields should not have public accessibility

Rule description

  • Fields should not have public accessibility

 

Non-compliant Code Example

type variables
private double id_seconds
public string id // 'Public' is not compliance
public int cnt // 'Public' is not compliance
end variables
Visual Expert 2020
 VEPBRULE25