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)


 
 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345