Hi, das liegt daran, dass ^ in C# XOR gleichkomt, nicht dem Potenzieren. Dazu solltest du Math. Verwenden.
Viele Gr��e, Wolfgang > -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:coffeehouse- > [EMAIL PROTECTED] Im Auftrag von Thomas Bandt > Gesendet: Donnerstag, 10. Februar 2005 16:35 > An: [email protected] > Betreff: [Coffeehouse] Potenzieren in C# > > H�!? > > Laut Compiler ist 3^2 = 1 - das gibt's ja wohl > nicht!? Wo liegt der Fehler? Stehe grad m�chtig im Wald... > > Gru�, Thomas > > http://blogs.dotnetgerman.com/thomas/ _______________________________________________ Coffeehouse Mailingliste, Postings senden an: [email protected] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/coffeehouse
