The magnetic field lines inside a long, current carrying solenoid are nearly :
Know your College Admission Chances Based on your Rank/Percentile, Category and Home State.
Get your JEE Main Personalised Report with Top Predicted Colleges in JoSA

As shown in the figure, the magnetic field lines inside a long solenoid are nearly straight lines.