Suggestions.put C# (CSharp) Method

put() public method

public put ( string s ) : void
s string
return void
    public void put(string s)
    {
        if(s.Length > max.Length)
            max = s;

        strings.Add(s);
    }

Usage Example

    public Suggestions getSuggestions()
    {
        Suggestions s = new Suggestions();

        s.put("Suggestion B");
        s.put("Suggestion A");
        s.put("Suggestion C");

        return(s);
    }
All Usage Examples Of Suggestions::put