hi all,
i migrated from VB.NET to C# about a week ago, and there are two things i cannot figure out how to do in C#. If anyone could help me out this would be much appreciated.
1. How to create a property (besides "this") with indexers. For example in VB:
VB Code:
Property MyProp(ByVal param1 As Integer, ByVal param2 As Integer) As Object ... End Property
2. How to do a 'ReDim Preserve' in C# code.
VB Code:
Dim asdf(1023) As Byte ReDim asdf(2047)
Thx in advance for any help.




Reply With Quote