M
Mark F.
In VC++ you can preassign a default value to an argument passed to a
function.
CString GetLastName(BOOL bUpper = TRUE, CString sName)
{
// if the flag is omitted the return string is upper case by default.
}
Can you do the same thing in C# methods?
Thanks,
Mark
function.
CString GetLastName(BOOL bUpper = TRUE, CString sName)
{
// if the flag is omitted the return string is upper case by default.
}
Can you do the same thing in C# methods?
Thanks,
Mark