In 1958 and this year England went out in the first round, but Barkley is confident that the experience will not be in vain.
"It is a big disappointment from my point of view, but you have got to have these type of things to learn from," Barkley told reporters in Belo Horizonte before the squad flew back to England on Tuesday evening.
He said advice given by the England's established stars will help the squad's development.
"I think I have benefited from this tournament and I think all the other younger lads will have, even though we didn't do well on the pitch. I thought being around all the experienced players has been good for me."
"We have got good young midfielders like Jack and Phil Jones, Luke Shaw, Raheem," Barkley added.
"We've got young lads coming through who are showing in the Premier League week in, week out what they can do.
"We have got to be able to do that at international level as we get older and hopefully in the Euros (the 2016 European Championship) in two years' time, we are going to be ready for that."
Shaw is the youngest player to have featured at this World Cup and he said it was an experience that he would never forget.
"Whether you play or not, you gain massive experience. In training, you are training with world-class players day in, day out. And it is something that you will learn from."
Wayne Rooney paid tributes to England's travelling supporters following the draw against Costa Rica.
"Gutted it's all over," the striker wrote on his official Facebook page, alongside a photograph of England's players saluting the fans at the Estadio Mineirao.
- Sports & Recreation
- Ross Barkley
- Luke Shaw
- Raheem Sterling