simple Shooting in C# script please

i can find them in java script everywhere but i cant seem to change it around into C# script can someone just send me a simple code i know how to add prefabs and spawn points for bullets ect

thankyou!

can anyone help me make a raycast shoot script pleaseā€¦