How does experience work in Dungeon Defenders?

For the PC version of the game, experience is shared for all kills. So all kills will give all players the same amount of XP, regardless of who killed them.

The Experience page on the wikia supports this:

On the PC version, experience from killing creatures is shared among the entire party.