コード例 #1
0
        public static string InstanceNewAndImplementFromInterface(int value)
        {
            IInterfaceType1 inst = new InstanceNewAndImplementType();

            return(inst.GetStringFromInt32(value));
        }
コード例 #2
0
        public static string InstanceNewAndImplement(int value)
        {
            var inst = new InstanceNewAndImplementType();

            return(inst.GetStringFromInt32(value));
        }