Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

Translating a jagged array

, 13 Dec 2011
Rate this:
Please Sign up or sign in to vote.
array= new int[4][] { new int[] { 5, 1, 0, 0, 0 }, new int[] { 6, 2, 0, 1, 0 }, new int[] { 7, 3, 0, 0, 0 }, new int[] { 0, 4, 0, 0, 0 },};1341 keystrokes spared.
array= new int[4][] {
    new int[] { 5, 1, 0, 0, 0 },
    new int[] { 6, 2, 0, 1, 0 },
    new int[] { 7, 3, 0, 0, 0 },
    new int[] { 0, 4, 0, 0, 0 },
};

1341 keystrokes spared.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

YvesDaoust
CEO VISION fOr VISION
Belgium Belgium
I fell into applied algorithmics at the age of 16 or so. This eventually brought me to develop machine vision software as a professional. This is Dreamland for algorithm lovers.

Comments and Discussions

 
GeneralI thought you liked Monthy Python's sense of humour. PinmemberYvesDaoust14-Dec-11 3:26 
GeneralReason for my vote of 1 A solution to a particular instance ... PinmemberJacek Gajek14-Dec-11 3:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 13 Dec 2011
Article Copyright 2011 by YvesDaoust
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid