1 // Compiler options: -r:gtest-friend-01-lib.dll 2 using System; 3 4 public class Test 5 { Main()6 public static void Main () 7 { 8 FriendClass fc = new FriendClass (); 9 10 // We should be able to access them 11 int a = FriendClass.StaticFriendProperty; 12 int b = fc.InstanceFriendProperty; 13 } 14 } 15 16