My ArrayHelper class.

Previously I've posted a few Helper Classes . This post describes my ArrayHelper class.

    using System;
    using System.Collections;
    using System.Runtime.CompilerServices;
    using System.Xml;
 
    public static class ArrayHelper
    {
            public static void FillBytesRange(Array array,int indexStart,int indexEnd,      byte value)
        {
            for (int i = indexStart; i <= indexEnd; i++)
            {
                Buffer.SetByte(array, i, value);
            }
        }
    }//end of class ArrayHelper
 

 

posted @ Monday, October 08, 2007 12:42 AM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 6 and 6 and type the answer here:
 

Live Comment Preview:

 
«October»
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678