Anagrams.Bag.AsString C# (CSharp) 메소드

AsString() 공개 메소드

public AsString ( ) : string
리턴 string
        public string AsString()
        {
            return guts;
        }

Usage Example

예제 #1
0
파일: Bag.cs 프로젝트: tdhale/anagrams
        static private string subtract_strings(string minuend, string subtrahend)
        {
            Bag m = new Bag(minuend);

            Bag s    = new Bag(subtrahend);
            Bag diff = m.subtract(s);

            if (diff == null)
            {
                return(null);
            }
            return(diff.AsString());
        }