Advertisement
Guest User

Untitled

a guest
Jan 26th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.49 KB | None | 0 0
  1. using System;
  2.  
  3. namespace MyProjectLibrary{
  4.    
  5.     public class MyProjectLibrary{
  6.        
  7.        
  8.         public void ShellSort(double[] item_mass,int[] item_index_mass,int count,int cher){
  9.             int TestCounter     = 0;
  10.             int i=0,j=0,k=0;    //indexs
  11.             int CurentOffset    = 0;
  12.             int[] OffsetMass    = {9,5,3,2,1};
  13.             for(k=0;k<5;k++){
  14.                 CurentOffset = OffsetMass[k];
  15.                 for(i=1;i<count;i++){
  16.                     TestCounter++;
  17.                 }
  18.             }
  19.         }
  20.        
  21.         public  int OnePlus(int input_var){
  22.             return input_var++;
  23.         }
  24.        
  25.     }
  26.    
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement