The @Override attribute would allow you to copy the @Override function from Java into C#/VB by using the attribute that comes with its package.
For example:
[@Override]
public partial string ExampleProperty { get; set; }
would generate:
public override string ExampleProperty { get; set; }
Similar to how this might look in Java:
@Override
public String getExampleProperty() {
return exampleProperty;
}
@Override
public void setExampleProperty(String value) {
this.exampleProperty = value;
}
The
@Overrideattribute would allow you to copy the@Overridefunction from Java into C#/VB by using the attribute that comes with its package.For example:
would generate:
Similar to how this might look in Java: