Hi i need some help here, i am after a new camera iv had a camera before it was a sony. but when i took pictures in the dark they came out dark.

i am after a camera which i can use in the dark so when i take the picture i can see what iv taken. what camera should i buy for this

SOMEONE PLEASE HELP ME!!