Question: who wrote if i were a boy lyrics
Answer: It was written by BC Jean and Toby Gad , who also handled its production alongside Beyoncé .