public CTDAFunction FunctionByIndex(UInt16 index) { return(CollectionHelpers.BinarySearch(ctdaFunctions, fn => { return index.CompareTo(fn.index); })); }