overloading myClass[6..8] operator in c++ or c#

josh BAUER 166 Reputation points
2020-12-27T19:16:26.017+00:00

I am looking to overload [number1st..number2nd] operator.

I would use it in following way:

myArray1[number1st..number2nd]=myArray2[number3rd..number4th]

I would like to select part of array2 and make it to become part of array1.

Would microsoft make it possible?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,762 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.