Problem with parameterized Defines

In reply to swathi allenki:
You can do this with a simple array of uvm_object_wrappers

uvm_object_wrapper seq_array[$];

// in the constructor or the body of some other method
  seq_array.push_back(first_seq::get_type());
  seq_array.push_back(second_seq::get_type());
  seq_array.push_back(third_seq::get_type());
  ...
  seq_array.push_back(tenth_seq::get_type());

 task random_sequence;
     uvm_sequence#(your_item_type) seq;
     int rand_seq;
     rand_seq = $urandom_range(9,0);
     $cast(seq,seq_array[rand_seq].create_object(""));
     seq.start();
 endtask