Theres a difference in my experience. Generally, leader material is more abrasion resistant and stiff, but likely wont behave itself that well as a mainline. Ive had great results with lines marketed as leader, and pretty good results using mainline as a leader.
Diameter matters, but I tend to use mainline a lb test or so heavier in the same situation as leader mtl to be safe.