You know Soon(tm) is trademarked allready by MatroxUsers and we all know about the impact of that word;-)
Ok, looking forward to it Soon(tm).
Have a nice weekend,
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Joe Stegman wrote:
We are planning on posting a Beta 1 version of the Outlook UI sample to http://www.windowsforms.net at the end of this month.
Sathyaish Chakravarthy wrote:
Maurits wrote:The more I think about it, the more I think that zero-length strings ARE palindromes. This is especially important in recursive algorithms applied to even-length strings.
Could you please elaborate?
OK. One algorithm I've seen is:
If the string length is 0, return TRUE *
If the string length is 1, return TRUE
If the first character is different than the last character, return FALSE
Otherwise, recursively check the string minus the first and last character
The *'d line is what I'm referring to. If the TRUE is changed to a FALSE, then every even-length palindrome will incorrectly return FALSE.
public bool IsPalindrome(string inputString)
StringBuilder inputStringBuilder = new StringBuilder(inputString);
for (int i = inputString.Length-1; i > -1; i--)
if (!Char.IsLetterOrDigit(inputString.Substring(i, 1),0))
return IsPalindromeNormalized( inputStringBuilder.ToString().ToLower());
private bool IsPalindromeNormalized(string inputString)
return inputString.Substring(0, 1) == inputString.Substring(1, 1);
if (inputString.Substring(0, 1) == inputString.Substring(inputString.Length - 1, 1))
return IsPalindromeNormalized(inputString.Substring(1, inputString.Length - 2));
The Channel 9 Team wrote:Developing apps for Microsoft Word and Excel hasn't been as easy as it could be. That's about to change with the new Visual Studio Tools for Office. Andrew Clinick gives us a "first look" demo.