I am making some utility classes that make different types of symbols to place onto an elevation of CAD drawings.
I want to make sure that if I need to dispose of the GraphicsPath object that I do so.
In the code below from inside the getCircle function it shows that I am passing the myPath "Gra...
I don't smoke weed any more... haven't in 12 years now, other than a trip to Amsterdam. Unless you're a chemist, I'm kinda ready to move back to my code :p
:6929516 Am I not right that the GC will not run since he is using ref? See I'm trying to learn more about GC and since he is using ref to a return value what will happen?
The integral types are implicitly converted to decimal and the result evaluates to decimal. Therefore you can initialize a decimal variable using an integer literal, without the suffix, as follows:
decimal myMoney = 300;
There is no implicit conversion between floating-point types and the decimal type; therefore, a cast must be used to convert between these two types. For example:
@Billdr @JABFreeware the link I posted above shows what conversions are handled so you can see that int can be implicitly converted to long , float, double or decimal for example
Hmm, I separated out a comment discussion into a chat discussion earlier but I'm not sure if it's automatically linked for the other person. Do I need to add a link to it into the comments or anything?
It's been 10 years since I did any math like this... I am programming a game in 2D and moving a player around. As I move the player around I am trying to calculate the point on a circle 200 pixels away from the player position given a positive OR negative angle(degree) between -360 to 360. The sc...
I am asking you to hack my website while I'm just messing around with fake money so that I know of any problems before I start putting in less fake money.
I should be writing a PlayOn plugin, but I got discouraged by the useless documentation, and haven't fired up Visual Studio since I got around to grabbing a decompiler.
@Billdr did you notice how C# started to attract game theory guys since you started with the blackjack thing? Do you think they are here for the hookers?
I'm trying to pass a collection of anonymous objects to a method (a razor helper) but I'm unable to get data from the objects in the method. No property, runtime exception, etc., but I don't believe I'm crossing assembly boundaries, so I can't see why it isn't working.
Moreover, if I simply "echo" the object, I get a nice string of the property/values passed in for each object, correct of course.
I don't use SO a lot, but is it common that you'll get comments that the problem pointless or answers that aren't relevant? stackoverflow.com/questions/14096116/…
@mootinator Oh, no no; just a helper method that takes a params dynamic[] argument. It does a few quick things and writes the selected one; nothing particularly complicated, and it could easily be fixed by introducing a one-off type. I just didn't want to do that.
More importantly, I'm interested in why I can't. Meh.
@CCInc - Almaron and Susanna Dickinson settled in Gonzales about 1835 as members of DeWitt's Colony. present with her daughter, Angelina when the Alamo fell in March 1836, Susanna witnessed the deaths of Almaron and the other Texans. She was released by Mexican General Santa Anna after the battle, and with as escort made her way to Sam Houston with news of the Alamo. She married Joseph Hannig in 1857 and lived in Austin until her death.
Susanna W. Dickinson
(1814-1883)
Almaron and Susanna Dickinson settled in Gonzales about 1835 as members of DeWitt's Colony. Present with her daughter, Angelina, when the Alamo fell in March 1836, Susanna witnessed the deaths of Almaron and the other Texans. She was released by Mexican General Santa anna after the battle, and with an escort made her way to Sam Houston with news of the Alamo. She married Joseph Hanning in 1857 and lived in Austin until her death.
recorded - 1993
@TravisJ CC sure have found cheap labor, I predict he will have a fortune 500 before he is 18. Then he will buy an island for each of us, and a boat so we can visit each other :)
@BeatMe Naw. I think silkroad is cool, and have made money there in the past (cracking hashes) but it's mostly to day trade and fund seed this blackjack game
well, the dealer will still likely bust on a 12-16, but if there are infinite ten value cards waiting... they'll likely get called more often than infinite non-ten value cards.