A、string words = "This is a list of words, with: a bit of punctuation\tand a tab character."; string[] split = words.Split(new Char[] { ' ', ',', '.', ':', '\t' });
B、string words = "This is a list of words, with: a bit of punctuation\tand a tab character."; string[] split = words.Split( " ", ",", ".", ":", "\t" );
C、string words = "This is a list of words, with: a bit of punctuation\tand a tab character."; string[] split = words.Split(new String[] { ' ', ',', '.', ':', '\t' });
D、string words = "This is a list of words, with: a bit of punctuation\tand a tab character."; string[] split = words.Split(new Char[] { " ", ",", ".", ":", "\t" });