About 2,250,000 results
Open links in new tab
  1. c# - Direct casting vs 'as' operator? - Stack Overflow

    Sep 25, 2008 · Direct Casting Types don't have to be strictly related. It comes in all types of flavors. Custom implicit/explicit casting: Usually a new object is created. Value Type Implicit: …

  2. Casting variables in Java - Stack Overflow

    Mar 13, 2011 · Regarding use for casting, you still see the need for it in some libraries. Pre Java-5 it was used heavily in collections and various other classes, since all collections worked on …

  3. vb.net - Casting in visual basic? - Stack Overflow

    VB actually has 2 notions of casting. CLR style casting Lexical Casting CLR style casting is what a C# user is more familiar with. This uses the CLR type system and conversions in order to …

  4. algorithm - What is the difference between ray tracing, ray casting ...

    May 1, 2021 · I used the term “ray tracer” as this is the one used in the book. I have heard a lot of different terms however and I would be interested to know what exactly is the difference …

  5. c# - 'casting' with reflection - Stack Overflow

    Sep 9, 2009 · 'casting' with reflection Asked 16 years, 1 month ago Modified 4 years, 6 months ago Viewed 65k times

  6. Regular cast vs. static_cast vs. dynamic_cast - Stack Overflow

    Aug 26, 2008 · Static cast is also used to cast pointers to related types, for example casting void* to the appropriate type. dynamic_cast Dynamic cast is used to convert pointers and references …

  7. casting - Java - Cast a Map - Stack Overflow

    Oct 16, 2011 · How can I cast a Map<Object,Object> to Map<String,String> in the cleanest way? Is there a way to do that without iterating over the map? Thanks

  8. Difference between casting and using the Convert.To() method

    Casting is the action of changing an entity of one data type into another. It's a little bit generic and it's somehow equivalent to a conversion because a cast often has the same syntax of a …

  9. casting - How to cast or convert an unsigned int to int in C?

    Feb 26, 2011 · The real question is what you want to do when/if the value in the unsigned int it out of the range that can be represented by a signed int. If it's in range, just assign it and you're …

  10. apache spark - Casting string to int null issue - Stack Overflow

    Casting string to int null issue Asked 8 years, 7 months ago Modified 6 years, 7 months ago Viewed 14k times