Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.007 Beiträge
 
#1

.NET/C# duh moment of the day: “A char can be implicitly converted to ushort, int, ui

  Alt 20. Nov 2012, 05:21
A while ago I had a “duh” moment while calling a method that had many*overloads, and one of the overloads was using int, not the char I’d expect. The result was that a default value for that char was used, and my parameter was interpreted as a (very small) buffer size. I only found ...

More...
  Mit Zitat antworten Zitat