'Camera' does not contain a definition for 'main'

Code Example - 'Camera' does not contain a definition for 'main'

                
                        If you are having this problem, you probably have a c# script/class with the
name of Camera and you script is trying to access that class instead of the
built-in class 'Camera', and your camera class dont have this property or
method