The D50 class is an old class of 2-8-0 steam locomotives built for the New South Wales Government Railways of Australia.