Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Future C# features

Future C# features

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiobeta-testingquestionannouncement
50 Posts 25 Posters 9 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Wesner Moise

    I am contracting at MS right now, and have contacts with the W------ people. I don't know if I am aloud to mention codenames, despite the fact that Microsoft made the name public, everyone knows the name of the product, and we have an article on it. I mentioned the W------ code name before, which was already publicized in the Microsoft roadmap, but then I was reminded of my NDA agreement; so I deleted the article. What sort of future C# features would you like to see in VS 2004 (or 2005, etc as the case may be)? Can't mention ship dates-- so I am being general, it's a future version of VS, and VS (2003 is already taken). I know the C# developer guys and the feature set is still fluid--uh I mean MORE fluid than usual. If I specify the absolute level of fluidity, I might give away trade secrets. Give me some of your ideas and I will relay them to the C# developers. I am on a company mailing list in which they are asking for feedback, comments and wishlists. Thanks, Wes

    S Offline
    S Offline
    Stephane Rodriguez
    wrote on last edited by
    #18

    Not really C# but anyway. better interop tools : - better and more comprehensive tlbimp.exe (only a fraction of IDL modules are imported) - better and more comprehensive tlbexp.exe - axexp.exe better interop marshaling : - more seamless. Pre-interoperating the underlying WIN32 API would be the least to expect. features for the IDE : - intellisense on attributes - xml-driven attributes : when an attribute is expecting a filepath, the UI should have an open/file dialog fired up without being seen.


    RSS feed

    1 Reply Last reply
    0
    • J J Dunlap

      **MULTIPLE INHERITANCE!!!** With block **Optional/default parameters** Predictable destructors

      "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
      "You must be the change you wish to see in the world." - Mahatma Gandhi

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #19

      Don't be shy. Eiffel. Period.


      RSS feed

      1 Reply Last reply
      0
      • O Oz Solomon

        Wesner Moise wrote: Give me some of your ideas ... This is what I'm missing the most: 1. typedefs 2. statics, enum (and typedefs) in interfaces. The first exists in Java and I can't figure out why they didn't do in C#. This will be a big boost:

        interface IFoo
        {
        // currently need to use abstract class to do this :(
        public static final int ALL_FOOS_USE_THIS = 2;

        // currently need to use abstract class to do this :(
        public enum foo_statuses { ... }

        // good 'ol C++ style type aliasing - not available at all
        public typedef ISomeProxy::someEnum fooEnum;

        ....
        }

        3. Design by contract - Design by contract can help debug both at development and at runtime:

        3.1 const objects/methods - one of the best compile-type aids as well as declarative help for the optimizer. 3.2 Complex contracts ala "D":

        http://www.digitalmars.com/d/dbc.html[^] http://www.digitalmars.com/d/class.html[^] (search for the title "Invariants")

        Class invariants are IMO a huge thing, helping enforce (and validate) the programmer's view of the world as well as helping to document the code.

        -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC6 experience that much more comfortable...

        J Offline
        J Offline
        J Dunlap
        wrote on last edited by
        #20

        // good 'ol C++ style type aliasing - not available at all
        public typedef ISomeProxy::someEnum fooEnum;

        Well, you can alias things in a certain file, but you can't alias them once and be done with it. You can put a using statement at the top of your file...

        using foo = fooenum;

        ...and it will make foo be able to be used as if it was fooenum.

        "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
        "You must be the change you wish to see in the world." - Mahatma Gandhi

        O 1 Reply Last reply
        0
        • D Daniel Turini

          David Stone wrote: Totally agree with you on everything but 3d, I don't really need UML models in my code or whatnot. DB diagrams might be nice. But what I'd really love is a CodeDOM parser. It was only a sample. Including pictures as comments would be very nice, like, uh, when you are designing some UI control and want to draw a schematic of the control and how the properties affect its size, and so on. Am I the only one to include pictures as part of my projects?

          // Quantum sort algorithm implementation
          while (!sorted)
          ;

          N Offline
          N Offline
          Navin
          wrote on last edited by
          #21

          Daniel Turini wrote: Am I the only one to include pictures as part of my projects? Probably. I wouldn't find any use for them. Actually it would be quite distracting to see pictures where I expect code. "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein

          1 Reply Last reply
          0
          • D David Stone

            Did you forget the PG rating on the Lounge? :suss:


            youd ebtter bnot be taki8ng agvantage o f my mental abilites!1 -David Wulff one night over MSN while totally plastered

            J Offline
            J Offline
            Judah Gabriel Himango
            wrote on last edited by
            #22

            Relax, I'm joking. Besides, since when did cheese become X rated? :)

            D 1 Reply Last reply
            0
            • N Nemanja Trifunovic

              Wesner Moise wrote: What sort of future C# features would you like to see in VS 2004 (or 2005, etc as the case may be)? 1. Make the GC optional and give us proper destructors. 2. const parameters and const methods. 3. Multiple inheritance. 4. Default parameters. 5. Non-member functions.

              A Offline
              A Offline
              Alvaro Mendez
              wrote on last edited by
              #23

              Errr, please see C++. :) Actually, I think Default Parameters would have been a nice feature. The alternative is to overload the method, but still... it just seems like extra work. Regards, Alvaro


              If you want to get to the top, prepare to kiss a lot of bottom. -- despair.com

              1 Reply Last reply
              0
              • N Nemanja Trifunovic

                Wesner Moise wrote: What sort of future C# features would you like to see in VS 2004 (or 2005, etc as the case may be)? 1. Make the GC optional and give us proper destructors. 2. const parameters and const methods. 3. Multiple inheritance. 4. Default parameters. 5. Non-member functions.

                N Offline
                N Offline
                Navin
                wrote on last edited by
                #24

                You have all that today, it's called C++. :-D :) (Not saying I disagree with any of those, although #3 would be the one I would least need to use.) "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein

                N 1 Reply Last reply
                0
                • S Shog9 0

                  "Whibey" makes me cringe. Sounds like something i'd buy from Mr. Whipple. :suss:

                  Shog9

                  Let your mercy spill / On all these burning hearts in hell If it be your will / To make us well...

                  C Offline
                  C Offline
                  Chris Losinger
                  wrote on last edited by
                  #25

                  Shog9 wrote: Whibey sounds like some G-rated British insult: "That bloke's a real whibey." CheeseWeasle

                  1 Reply Last reply
                  0
                  • D Daniel Turini

                    David Stone wrote: Totally agree with you on everything but 3d, I don't really need UML models in my code or whatnot. DB diagrams might be nice. But what I'd really love is a CodeDOM parser. It was only a sample. Including pictures as comments would be very nice, like, uh, when you are designing some UI control and want to draw a schematic of the control and how the properties affect its size, and so on. Am I the only one to include pictures as part of my projects?

                    // Quantum sort algorithm implementation
                    while (!sorted)
                    ;

                    C Offline
                    C Offline
                    Chris Maunder
                    wrote on last edited by
                    #26

                    I never read code. I just look at the pictures. cheers, Chris Maunder

                    1 Reply Last reply
                    0
                    • J J Dunlap

                      // good 'ol C++ style type aliasing - not available at all
                      public typedef ISomeProxy::someEnum fooEnum;

                      Well, you can alias things in a certain file, but you can't alias them once and be done with it. You can put a using statement at the top of your file...

                      using foo = fooenum;

                      ...and it will make foo be able to be used as if it was fooenum.

                      "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                      "You must be the change you wish to see in the world." - Mahatma Gandhi

                      O Offline
                      O Offline
                      Oz Solomon
                      wrote on last edited by
                      #27

                      jdunlap wrote: Well, you can alias things in a certain file True, but if you referr to little interface example you will see that my point was that typedefs are especially useful when used in global/cross-file scope. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC6 experience that much more comfortable...

                      J 1 Reply Last reply
                      0
                      • J Judah Gabriel Himango

                        Relax, I'm joking. Besides, since when did cheese become X rated? :)

                        D Offline
                        D Offline
                        David Stone
                        wrote on last edited by
                        #28

                        I was kinda talkin' bout Strippy...


                        Conclusion of the day, don't believe a developer, his mind is always changing. -Stephane Rodriguez.

                        J 1 Reply Last reply
                        0
                        • I igor1960

                          1. Ability to compile mixed files written in any CLR languages in one assembly; 2. Reverse P/Invoke; 3. ability to overload QueryInterface (support for aggregation); 4. windowless Windows Form Control; 5. unions; =================================== Probably, that's already enough to make it C... hehehe "...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..." Me

                          R Offline
                          R Offline
                          Russell Morris
                          wrote on last edited by
                          #29

                          igor1960 wrote: 1. Ability to compile mixed files written in any CLR languages in one assembly; This can already be done using the command-line compiler - just not VS.NET's built-in compiler -- Russell Morris "So, broccoli, mother says you're good for me... but I'm afraid I'm no good for you!" - Stewy

                          I C 2 Replies Last reply
                          0
                          • D David Stone

                            I was kinda talkin' bout Strippy...


                            Conclusion of the day, don't believe a developer, his mind is always changing. -Stephane Rodriguez.

                            J Offline
                            J Offline
                            Judah Gabriel Himango
                            wrote on last edited by
                            #30

                            :laugh: You have to admit though, she would be a nice addition to Whidbey. ;)

                            1 Reply Last reply
                            0
                            • R Russell Morris

                              igor1960 wrote: 1. Ability to compile mixed files written in any CLR languages in one assembly; This can already be done using the command-line compiler - just not VS.NET's built-in compiler -- Russell Morris "So, broccoli, mother says you're good for me... but I'm afraid I'm no good for you!" - Stewy

                              I Offline
                              I Offline
                              igor1960
                              wrote on last edited by
                              #31

                              This can already be done using the command-line compiler - just not VS.NET's built-in compiler Could they refference each other?... "...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..." Me

                              D 1 Reply Last reply
                              0
                              • N Navin

                                You have all that today, it's called C++. :-D :) (Not saying I disagree with any of those, although #3 would be the one I would least need to use.) "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein

                                N Offline
                                N Offline
                                Nemanja Trifunovic
                                wrote on last edited by
                                #32

                                Navin wrote: You have all that today, it's called C++. Really? Wow, I'll switch to C++ then. ;P Navin wrote: although #3 would be the one I would least need to use I don't use it much directly. However, I use some great libraries (Loki) that use MI "under the hood" a lot.

                                1 Reply Last reply
                                0
                                • O Oz Solomon

                                  jdunlap wrote: Well, you can alias things in a certain file True, but if you referr to little interface example you will see that my point was that typedefs are especially useful when used in global/cross-file scope. -Oz --- Grab WndTabs from http://www.wndtabs.com to make your VC6 experience that much more comfortable...

                                  J Offline
                                  J Offline
                                  J Dunlap
                                  wrote on last edited by
                                  #33

                                  Yeah, and I'd like to see this too. But thought it might help in the mean time... ;)

                                  "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                                  "You must be the change you wish to see in the world." - Mahatma Gandhi

                                  1 Reply Last reply
                                  0
                                  • W Wesner Moise

                                    I am contracting at MS right now, and have contacts with the W------ people. I don't know if I am aloud to mention codenames, despite the fact that Microsoft made the name public, everyone knows the name of the product, and we have an article on it. I mentioned the W------ code name before, which was already publicized in the Microsoft roadmap, but then I was reminded of my NDA agreement; so I deleted the article. What sort of future C# features would you like to see in VS 2004 (or 2005, etc as the case may be)? Can't mention ship dates-- so I am being general, it's a future version of VS, and VS (2003 is already taken). I know the C# developer guys and the feature set is still fluid--uh I mean MORE fluid than usual. If I specify the absolute level of fluidity, I might give away trade secrets. Give me some of your ideas and I will relay them to the C# developers. I am on a company mailing list in which they are asking for feedback, comments and wishlists. Thanks, Wes

                                    J Offline
                                    J Offline
                                    John Fisher
                                    wrote on last edited by
                                    #34

                                    I like several of the features already suggested, but I will be really, really, really disappointed if the next version of C# doesn't have Edit-and-Continue, when we've already been informed that VB.NET will have it....:| John
                                    "We want to be alone when we hear too many words and we feel alone when it has been a while since anyone has spoken to us." Paul David Tripp -- War of Words

                                    1 Reply Last reply
                                    0
                                    • W Wesner Moise

                                      I am contracting at MS right now, and have contacts with the W------ people. I don't know if I am aloud to mention codenames, despite the fact that Microsoft made the name public, everyone knows the name of the product, and we have an article on it. I mentioned the W------ code name before, which was already publicized in the Microsoft roadmap, but then I was reminded of my NDA agreement; so I deleted the article. What sort of future C# features would you like to see in VS 2004 (or 2005, etc as the case may be)? Can't mention ship dates-- so I am being general, it's a future version of VS, and VS (2003 is already taken). I know the C# developer guys and the feature set is still fluid--uh I mean MORE fluid than usual. If I specify the absolute level of fluidity, I might give away trade secrets. Give me some of your ideas and I will relay them to the C# developers. I am on a company mailing list in which they are asking for feedback, comments and wishlists. Thanks, Wes

                                      L Offline
                                      L Offline
                                      Leprosy
                                      wrote on last edited by
                                      #35

                                      OH HI, I WOULD LIKE A MAKE MY WEB APPLICATION SECURE BUTTON. I CANT FIND IT IN VS 2003. WHERE IS IT GONE TO? THANKS- CAPSLOXROX PS MAKE BUTTON LOOK LIKE THIS - :suss:

                                      1 Reply Last reply
                                      0
                                      • W Wesner Moise

                                        I am contracting at MS right now, and have contacts with the W------ people. I don't know if I am aloud to mention codenames, despite the fact that Microsoft made the name public, everyone knows the name of the product, and we have an article on it. I mentioned the W------ code name before, which was already publicized in the Microsoft roadmap, but then I was reminded of my NDA agreement; so I deleted the article. What sort of future C# features would you like to see in VS 2004 (or 2005, etc as the case may be)? Can't mention ship dates-- so I am being general, it's a future version of VS, and VS (2003 is already taken). I know the C# developer guys and the feature set is still fluid--uh I mean MORE fluid than usual. If I specify the absolute level of fluidity, I might give away trade secrets. Give me some of your ideas and I will relay them to the C# developers. I am on a company mailing list in which they are asking for feedback, comments and wishlists. Thanks, Wes

                                        J Offline
                                        J Offline
                                        jeff_martin
                                        wrote on last edited by
                                        #36

                                        Others have mentioned the one thing I want. Default parameters!

                                        1 Reply Last reply
                                        0
                                        • W Wesner Moise

                                          I am contracting at MS right now, and have contacts with the W------ people. I don't know if I am aloud to mention codenames, despite the fact that Microsoft made the name public, everyone knows the name of the product, and we have an article on it. I mentioned the W------ code name before, which was already publicized in the Microsoft roadmap, but then I was reminded of my NDA agreement; so I deleted the article. What sort of future C# features would you like to see in VS 2004 (or 2005, etc as the case may be)? Can't mention ship dates-- so I am being general, it's a future version of VS, and VS (2003 is already taken). I know the C# developer guys and the feature set is still fluid--uh I mean MORE fluid than usual. If I specify the absolute level of fluidity, I might give away trade secrets. Give me some of your ideas and I will relay them to the C# developers. I am on a company mailing list in which they are asking for feedback, comments and wishlists. Thanks, Wes

                                          K Offline
                                          K Offline
                                          Kastro
                                          wrote on last edited by
                                          #37

                                          Somehow providing delegate inheritance. Don't know how it could be done, but I'd like to be able to do something like the following...

                                          class MadeHappyEventArgs : EventArgs {
                                          ...
                                          }

                                          public delegate void MadeHappyEventHandler : EventHandler (Object sender, MadeHappyEventArgs e);

                                          class MakeHappyControl : Control {

                                          private static readonly Object MadeHappyEvent = new Object();
                                          
                                          public event MadeHappyEventHandler MadeHappy {
                                              add { Events.AddHandler(MadeHappyEvent, value); }
                                              remove { Events.RemoveHandler(MadeHappyEvent, value); }
                                          }
                                          
                                          protected void OnMadeHappy() {
                                              RaiseEvent(MadeHappyEvent, new MadeHappyArgs());
                                          }
                                          
                                          private void RaiseEvent(Object event, EventArgs args) {
                                              // The next line is what it would allow
                                              EventHandler handler = (EventHandler)Events\[event\];
                                              if (handler != null)
                                                  handler(this, args);
                                          }
                                          

                                          }

                                          Would be nice... It's a lot cleaner when you don't have to rewrite that RaiseEvent method for every type of EventArgs event.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups