What kind of coding style do you like to use in the following situations?

1.)

A.)
void Function(){
//myCode
}
//-----------------------------
B.)