public override long Length()
 {
     return(main.Length());
 }