Look at your code:
calc= calculatePay();
...
public static void calculatePay(ref double hourlyRate,ref double noOfHoursWorked)
And
DisplayPaySlip();
...
public static void DisplayPaySlip( string fullName, double noOfHoursWorked, string employeeNumber,string hourlyRate, double weeklyPay)
You have declared moth methods to take parameters, but you are not supplying them when you call the methods. Since the parameters look pretty important to doing the job the method is intended to do, tyou need to find them and supply them when you call the methods! I'm also pretty sure you want to return a value from teh CalculatePay method, rather than return a void - and there is no good reason for making the parameters
ref
since you don't (and shouldn't) change them.
double rate = 15.0;
double hours = 48.0;
calc = calculatePay(ref rate, ref hours);
DiaplyPaySlip("Joe Blogs", 48, "666", "15.0", calc);
BTW: Why is your hourlyRate a string for the DisplayPaySlip method? Surely it would be better to use a double like you do for CalculatePay?