Driver.F(int)

Here are the examples of the csharp api class Driver.F(int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: SharpNative
Source File: MethodOverloading.cs
View license
public static void Main() {
		var sb = new StringBuilder();
		sb.AppendLine(F(0));
		sb.AppendLine(F("X"));
        Console.WriteLine(sb.ToString());
    }

2. Example

Project: SharpNative
Source File: TypeInference.cs
View license
public static void Main() {
        var v1 = 1;
        var v2 = "x";

        var sb = new StringBuilder();
        sb.AppendLine(F(v1));
        sb.AppendLine(F(v2));
        sb.AppendLine(F(() => v1));
        sb.AppendLine(F(() => v2));
    
        Console.WriteLine(sb.ToString());
    }