1. Hi, Guest,

    Currently we have three official hacks running. CSGO, Battlefield Hardline and Audition America. Be sure to check them out!

    CSGO - "50 Shades of Gaben" - CSGO Cheat

    Battlefield Hardline Cheat - FREE

    Audition Redbana Hack [ARH Modz]

    More to Come!
    Dismiss Notice
Dismiss Notice
CSGO VIP Cheats now available!! Click here to get a copy!
Dismiss Notice
Want to Shorten Your Long URL? Check out our sister website Tiniurl to solve your needs!

News New Stuff in Visual Studio 2010, C#, Visual Basic, and the .NET Framework 4.0

Discussion in '.NET Platform' started by LCS, Apr 26, 2010.

  1. LCS

    LCS

    Messages:
    1,727
    Likes Received:
    164
    Joined:
    Nov 23, 2005
    New Stuff in Visual Studio 2010, C#, Visual Basic, and .NET Framework 4.0

    Visual Studio 2010
    • Support for the new language F# has been added.
    • Full integrated Team Foundation support.
    • New Extension Manager (with support for accessing the online gallery).
    • Vastly improved IntelliSense support (particularly in VC++).
    • Support for programmable start pages.
    • The program is now more responsive and faster (and fully concurrent).
    C#
    • Supports optional and named parameters.
    Visual Basic
    • Automatic line continuation.
    • Anonymous methods.
    • Automatically implemented properties.
    • Simpler collection initializers.
    • Simplified jagged array initializer.
    • Nullable optional parameters.
    C# and Visual Basic
    • Covariance and contravariance.
    • Dynamic types (from the (Open Source) Dynamic Language Runtime).
    • Improved COM interoperability.
    .NET Framework 4.0
    • BigInteger type.
    • Lazy<T> generic type, for thread-safe lazy loading.
      Save CPU power and memory until you really do need to use the type T.
    • MemoryMappedFile and MemoryMapperViewStream types.
      Work with very large files and share memory with other processes (IPC).
    • SortedSet<T>.
      Store unique objects or values in an ordered fashion like a SortedDictionary (but with no key).
    • ISet<T> interface.
      The generic interface is implemented by all set types like HashSet and SortedSet.
    • Tuple<…> generic types.
      These are fixed-count collections of any type. Tuple<string, BigInteger, int, byte> would store a string, BigInteger, int, and byte (and in that order).
    • Complex type.
      This type is for mathematicians working with complex numbers (the kind of number you get when you perform a square root operation on a negative number).
    • The DeflateStream and GZipStream types can now work with more than 4 GB of data so size restrictions are—for all practical purposes—non-existent.
    • File and directory enumeration methods now return the IEnumerable<string> type instead of a (possibly huge) array of string.
    • The Stream type now has a CopyTo(Stream) method so you can copy streams to other streams in one line of code.
    • You can now test your Enum-based types to see if flags are set using Enum.HasFlag(YourEnumType.SomeFlag).
    • String's Concat and Join methods now work with IEnumerable<T>.
    • You can test strings for empty strings with IsNullOrWhiteSpace(String).
    • The StringBuilder type has a Clear method which should be self-explanatory.
    • The Stopwatch type has a Restart method.
    • IObservable<T> generic interface.
    • Task Parallel Library (TPL) and Concurrency and Coordination Runtime.
    • Parallel LINQ (PLINQ) support for most collections (as part of the TPL).
    • Coordination data structures.
    Get Visual Studio Express editions here.
     
    Last edited by a moderator: May 1, 2010
    1 person likes this.
  2. XTZGZoReX

    XTZGZoReX Retired Staff Member GzP Underground

    Messages:
    6,659
    Likes Received:
    93
    Joined:
    May 27, 2006
    I'll take the liberty to move this to the C# section; I think it belongs there, rather than this place. Also adding a few things you haven't listed.
     
    Last edited: Apr 26, 2010
  3. Gloryeagle

    Gloryeagle

    Messages:
    1,067
    Likes Received:
    166
    Joined:
    Aug 20, 2009
    Didn't really find this useful =/
    Cuz i'm sticking with Vb 2008 and C#
    +rep for the effort?
     
  4. LCS

    LCS

    Messages:
    1,727
    Likes Received:
    164
    Joined:
    Nov 23, 2005
    You mean Visual Basic 2008 and C# 3.0? You're going to miss out on a lot dude.
     
  5. Gloryeagle

    Gloryeagle

    Messages:
    1,067
    Likes Received:
    166
    Joined:
    Aug 20, 2009
    It's ok , I'm probably not going to use the new stuff anyways.
     
  6. soulstryker

    soulstryker

    Messages:
    463
    Likes Received:
    9
    Joined:
    Apr 9, 2010
    ill try it sir...

    thnxz for the info..
     
  7. XTZGZoReX

    XTZGZoReX Retired Staff Member GzP Underground

    Messages:
    6,659
    Likes Received:
    93
    Joined:
    May 27, 2006
    On a different note (not so much related to this), check out Axum. An RTM release was just put up yesterday.
     
  8. Denchik

    Denchik GzP Underground GzP Underground

    Messages:
    514
    Likes Received:
    65
    Joined:
    Aug 15, 2009
    so what's the difference if i use Object instead, i mean i can declare everything as an object, then cast it.
    so what's the point in dynamic ?
     
    Last edited: Dec 28, 2010
  9. LCS

    LCS

    Messages:
    1,727
    Likes Received:
    164
    Joined:
    Nov 23, 2005
    I haven't been programming for a while, but I know that dynamic is useful for people who work with .NET Reflection and it lets you write code that is not thoroughly scrutinized by the compiler (such as calling methods on an object that the compiler doesn't know about) whereas object objects are constrained by the fact that they are useless unless casted to the correct sub-class.
     
  10. Denchik

    Denchik GzP Underground GzP Underground

    Messages:
    514
    Likes Received:
    65
    Joined:
    Aug 15, 2009
    thanks for the info
     
  11. XTZGZoReX

    XTZGZoReX Retired Staff Member GzP Underground

    Messages:
    6,659
    Likes Received:
    93
    Joined:
    May 27, 2006
    Moving this to the top-level .NET section with a permanent redirect.
     
  12. LCS

    LCS

    Messages:
    1,727
    Likes Received:
    164
    Joined:
    Nov 23, 2005
  13. dogber69

    dogber69

    Messages:
    18
    Likes Received:
    0
    Joined:
    Mar 16, 2009
  14. pauskie_6

    pauskie_6

    Messages:
    17
    Likes Received:
    1
    Joined:
    Mar 20, 2008
    Problem when installing .Net Framework 4

    I attempted to install .Net Framework 4 in my pc and i get a generic failure error(0x800B010B)

    ..
    help me guys
     

Share This Page