Exemple #1
0
        public int Add(int x, int y)
        {
            if (_sum != null)
            {
                return(_sum.Add(x, y));
            }

            // ReSharper disable once UnthrowableException
            throw new NullReferenceException("Loader not instantiated");
        }
Exemple #2
0
 public string Add(string a, string b) => sum.Add(a, b) + "A";