Iceplug
Contributor
OK, I've looked through my documentation and searched... and haven't found anything like this:
In VB, you can make property procedures with parameters:
Public Property TileData(ByVal Col As Integer, ByVal Row As Integer) As Short
Get
Return mTiles(Col, Row).Data
End Get
Set(ByVal Value As Short)
mTiles(Col, Row).Data = Value
End Set
End Property
Is the same possible in C# or something similar?
When I try using it, I get errors-a-plenty.
In VB, you can make property procedures with parameters:
Public Property TileData(ByVal Col As Integer, ByVal Row As Integer) As Short
Get
Return mTiles(Col, Row).Data
End Get
Set(ByVal Value As Short)
mTiles(Col, Row).Data = Value
End Set
End Property
Is the same possible in C# or something similar?
When I try using it, I get errors-a-plenty.