Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   .NET/C# duh moment of the day: “A char can be implicitly converted to ushort, int, ui (https://www.delphipraxis.net/171685-net-c-duh-moment-day-%93-char-can-implicitly-converted-ushort-int-ui.html)

DP News-Robot 20. Nov 2012 05:21

.NET/C# duh moment of the day: “A char can be implicitly converted to ushort, int, ui
 
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 ...http://feeds.feedburner.com/~r/delph...~4/8NPwW-STyEg

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:03 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz