We help IT Professionals succeed at work.

Explenation needed about a function

Peter Kiers
Peter Kiers asked
on
Hi,

i have this:

        static bool CheckType(string value)
        {
            return value.Contains(",") || value.Contains(".");
        }

Can someone comment these code-lines for me
I need an explenation about this function.

Thank you in advanced,

Greetings,

Peter Kiers
Comment
Watch Question

Oracle dba
CERTIFIED EXPERT
Top Expert 2009
Commented:
return will be true when value contains "," or "."

Explore More ContentExplore courses, solutions, and other research materials related to this topic.