public static Guid[] toGuidArray(Set set){
  Object[] obj=set.toArray();
  Guid[] ss=new Guid[obj.length];
  for (int i=0; i < obj.length; i++) {
    ss[i]=new Guid((String)obj[i]);
  }
  return ss;
}

public static Guid [ ] toGuidArray ( Set set ) { Object [ ] obj = set . toArray ( ) ; Guid [ ] ss = new Guid [ obj . length ] ; for ( int i = 0 ; i < obj . length ; i ++ ) { ss [ i ] = new Guid ( ( String ) obj [ i ] ) ; } return ss ; }
convert a set to guid object array
