Hello I have a question and a kind of problem somehow!!!
Public Structure VariableNamesAndValues
Public Name As String
Public Chckr As Checker
End Structure
Dim declarationChckrs(RestCntDices) As VariableNamesAndValues
Well I have stack named MyStack includes Checkers and the what I want to do is to copy all the elements of the stack to
declarationChckrs. I thought about using CopyTo method like this PcCheckerGates(ii).stack.CopyTo(declarationChckrs, 0)
but problem... because I did count that declarationChckrs is an array that each element is a string and a checker, so I got error, is there a way to do that only using the CopyTo method of the stack? Or should I have to make it element by element??? Any suggestions please????? Any help will be much appreciated.
Thank you so much
in advanced.
Public Structure VariableNamesAndValues
Public Name As String
Public Chckr As Checker
End Structure
Dim declarationChckrs(RestCntDices) As VariableNamesAndValues
Well I have stack named MyStack includes Checkers and the what I want to do is to copy all the elements of the stack to
declarationChckrs. I thought about using CopyTo method like this PcCheckerGates(ii).stack.CopyTo(declarationChckrs, 0)
but problem... because I did count that declarationChckrs is an array that each element is a string and a checker, so I got error, is there a way to do that only using the CopyTo method of the stack? Or should I have to make it element by element??? Any suggestions please????? Any help will be much appreciated.
Thank you so much
in advanced.