The first dining car in England was run experimentally by the Great Northern railway between London and Leeds in 1879, and now such vehicles form a common feature on express trains, being available for all classes of passengers without extra charge beyond the amount payable for food.
Revenue for state, county and municipal purposes is derived principally from taxes on real estate, tangible personal property, incomes in excess of $1000, wills and administrations, deeds, seals, lawsuits, banks, trust and security companies, insurance companies, express companies, railway and canal corporations, sleeping-car, parlour-car and dining-car companies, telegraph and telephone companies, franchise taxes, poll taxes, an inheritance tax and taxes on various business and professional licences.
Depending on the itinerary, you'll either have to sleep in a stateroom or in a hotel, and some meals may be eaten in the dining car.