Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

I have a string array.

I want to reverse its members, is there a direct way to do this?

For example:

Input array:

a1

a2

a3

a4

a5

Output array:

a6

a5

a4

a3

a2

a1

???

Posted

Yes I know, but I get warning:

 

MyArray.Reverse(MyArray)

 

Warning 1: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...