C# Class III.Merge.Sort.Parallel.Program

Mostra file Open project: TelerikAcademy/TelerikAcademyPlus

Public Methods

Method Description
GetArray ( int size ) : int[]
LoadArrayFromFile ( string fileName ) : int[]
Main ( string args ) : void
Merge ( int leftPart, int rightPart ) : int[]
PrintArray ( int array ) : void
RecursiveMerge ( List arraySlices ) : List

Method Details

GetArray() public static method

public static GetArray ( int size ) : int[]
size int
return int[]

LoadArrayFromFile() public static method

public static LoadArrayFromFile ( string fileName ) : int[]
fileName string
return int[]

Main() public static method

public static Main ( string args ) : void
args string
return void

Merge() public static method

public static Merge ( int leftPart, int rightPart ) : int[]
leftPart int
rightPart int
return int[]

PrintArray() public static method

public static PrintArray ( int array ) : void
array int
return void

RecursiveMerge() public static method

public static RecursiveMerge ( List arraySlices ) : List
arraySlices List
return List