Visual C# problems : Im having some trouble with visual studio as it says it wont compile. I cant figure out what the problem is it says something like it can't convert from void to bool even though they're is no 'bool'. Here is my code:

    using System;

    namespace ConsoleApplication14
    {
    class Program
    {
    static void Main(string[] args)
    {
    Console.WriteLine(myFunction(14));
    }

    public static void myFunction(int x)
    {
    return x + 2;
    }
    }

Please help me!!
