Dirt bike rider killed Thursday in York City crash