Statement 1: The magnetic field at the ends of a very long current carrying solenoid is half of that at the centre.
Statement 2: If the solenoid is sufficiently long, the field within it is uniform.
For a solenoid also for a long solenoid magnetic field is uniform within it .