Remember that a string is just a collection of characters. Once you realize that, it should be pretty straightforward. I won't spoil the fun of your homework assignment by going any further...
Of course, your definition of what a vowel is may differ - whether it's just aeiouAEIOU, or if you're dealing with accented and other special letters... On Dec 17, 8:56 pm, DotnetBeginner <[email protected]> wrote: > I am trying to return num of vowels present in a string using c#. I am > not getting that. Can any body have any ideas > > Appreciated.
