Light a grill or preheat a grill pan and oil the grate. Grill the corn over moderately-high heat, turning occasionally, until tender and lightly charred, about 10 minutes. Transfer to a cutting board and let cool slightly. Meanwhile, grill the hot dogs, turning, until heated through, about 5 minutes. Transfer to the cutting board.