Show/Hide Toolbars

XSharp

The -allowdot compiler option allows you to control if the DOT (".") operator should be allowed to access instance members.

The default for the Core and FoxPro dialects is /allowdot+

The default for the other dialects is /allowdot-

Syntax

-allowdot[+ | -]

Arguments

+ | - Specifying +, or just -

To set this compiler option in the Visual Studio development environment:

 

1.Open the project's Properties page.

2.Click the Language tab.

3.Change "Allow DOT for instance members" value of checkbox

4.Click here to see the property page