Hi,
I'm coding some shit in C#.
Sometimes I like to pass array objects between methods. When I do this, I access the passed array as sender from the receiving method. Typically I am passing it to a method in another public class.
However, there are not many methods available to the sender object. I would like to have another copy of the array exist where I pass it. I suppose one way to do this would be to use sender.ToString() and then repackage the string into a new array.
Are there better ways to do this???
TIA,
-b
I'm coding some shit in C#.
Sometimes I like to pass array objects between methods. When I do this, I access the passed array as sender from the receiving method. Typically I am passing it to a method in another public class.
However, there are not many methods available to the sender object. I would like to have another copy of the array exist where I pass it. I suppose one way to do this would be to use sender.ToString() and then repackage the string into a new array.
Are there better ways to do this???
TIA,
-b
