birbilis

My feedback

  1. 11,273 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      under review  ·  498 comments  ·  Visual Studio IDE » .NET  ·  Flag idea as inappropriate…  ·  Admin →
      birbilis commented  · 

      At last, UserVoice was problematic, especially that it casted one vote automatically when you sent some feedback and then you couldn't sent more when you run out of votes. Had to go back and remove your votes. Totally boring, was making you decide sometimes to skip that suggestion and go on with your work instead

      btw, regarding migration that article states: "Over the coming months, we’ll be migrating many existing UserVoice items from UserVoice, starting with a few hundred, although tems with relatively lower vote counts and items that are exceptionally old may not move over. Please see these frequently asked questions for more details on how UserVoice votes and comments are being handled. "

      what is really sad is that all our feedback on Visual Studio etc. at Microsoft Connect has been lost when Microsoft decided to shut it down. When one sees such things, they wonder if it was worth the time they spent to send it in. Or when they see older items being closed just because time passed without them being handled

      birbilis commented  · 

      Not sure if Eto.Forms has been mentioned in this thread, just came across an article on it by Scott Hanselman:

      https://www.hanselman.com/blog/CrossplatformGUIsWithOpenSourceNETUsingEtoForms.aspx

      birbilis commented  · 

      why do you assume the Javascript path means just Javascript? Unless they use node.js, they have Java or .NET, or PHP, Python etc. on the server. With WebForms you didn't have to mess with the Javascript, you'd see it as blackbox controls that could also do stuff client-side when AJAX enabled.

      So could have say WebForms (personally like it better than MVC for focusing on your business logic) + Blazor for example and allow one to build webcomponents (which is trending in recent years) in C# or choose to use readymade customizable componens from MS and third-parties. And I'd really like to see PME (Property-Method-Event) for customization, apart from CSS styling

      in fact Blazor could be a renderer for some higher XAML layer that could also have other renderers for targets where you don't have html engine or don't want to carry the HTML baggage (e.g. could be embedded stuff, games, TV stuff, high-perf desktop apps, holographic stuff etc.)

      birbilis commented  · 

      exactly what standard do you have in mind? please don't tell me Java, we've seen what Google did with Android, they're still fighting on this with Oracle in courts

      birbilis commented  · 

      on the contrary, it's very good news: the power of Microsoft was all these years that they'd strive for backwards compatibility and interop with older tech (can still run Win16 in 32-bit Windows for example and would hope they also had it in x64 since there are some nice older 16-bit educational apps that need a VM to run), not ditch a technology for the latest trendy stuff and tell you to write all your stuff from scratch

      btw, interesting reading on what happens at the world of trendy that's called web development currently:

      The Brutal Lifecycle of JavaScript Frameworks https://stackoverflow.blog/2018/01/11/brutal-lifecycle-javascript-frameworks/

      birbilis commented  · 

      ...and if he means for Canvas support (for rendering), there are some fallbacks for it too (using Flash etc.). Not sure if one uses WebGL for rendering if there are any decent fallbacks

      birbilis commented  · 

      Not sure why he says "Con: Relies on fancy new support in modern browsers. Fortunately support is ubiquitous today, but this won’t be working on Windows XP." at http://praeclarum.org/ - Isn't there available an (automatic?) asm.js fallback for WebAssembly?

      birbilis commented  · 

      btw, manifold.js has become Progressive Web Apps builder - http://docs.pwabuilder.com/

      birbilis commented  · 

      I think some other platforms too transport platform agnostic UI "commands" and render those at the client-side with a custom platform-specific renderer. Probably Avalonia does so, don't remember where I had seen it some time ago

      birbilis supported this idea  · 
      birbilis commented  · 

      speaking of NativeScript, a C#/XAML to NativeScript (uses TypeScript for the code if I remember well and XML-based declarative UI) converter would be interesting

      birbilis commented  · 

      See windows insider announcement about wrong version of os pushed and what to do

      birbilis commented  · 

      Microsoft could enhance the desktop bridge to allow publishing Silverlight OOB (out of browser) apps to the desktop Store. Would just pass the OOB-marked (in the manifest) XAP to the tool and it should just work

      Could also allow Hosted Web Apps that use Silverlight at the desktop store via an IE instance running inside the desktop bridge's redirected registry+filesystem

      Would be an extra push for going to win10 clients / store for business

      birbilis commented  · 

      XAML Standard 1.0 just announced!

      birbilis commented  · 

      Not in a browser process, only in the Electron process, side-by-side with the browser stuff, with two-way communication so that the browser API is exposed to .NET too.

      However they write there that their work on the strongly-typed Typescript-based DOM (W3C) API would be helpful for the work they're doing or planning (no code published yet I guess on that one) on running Mono in the browser via WebAssembly.

      Mostly interesting is that they plan to reuse some code from Moonlight for the Browser API. However, Moonlight was NPAPI-based I think (like Silverlight) and browsers are phasing-off NPAPI plugins in favor of PPAPI etc., so maybe they haven't though of that very well (unless NPAPI has lot of similarity on how it models the browser with PPAPI that is [haven't checked])

      birbilis commented  · 

      these parts are interesting though:

      "Xamarin.W3C.dll API bindings that will provide access to the browser APIs, built on top of Xamarin.PepperSharp.dll
      System.Windows.Browser this API surfaces the DOM tree to C# as a strongly typed set of objects. An MIT licensed implementation of this is part of Moonlight that could be refactored.
      For the Xamarin.W3C APIs, we intend to use the TypeScript type definitions to generate a strongly typed .NET API."

      "We hope that the Xamarin.W3C API would be used in the future when we compile .NET code to WebAssembly."

      birbilis commented  · 

      Not exactly, Electron is for desktop apps. This is a plugin for it for binding two-ways to .net

      birbilis commented  · 

      @Anonee

      > MS should give us clear plan/roadmap for .Net/XAMl, but they don't.

      they do have .NET Standard coming which is very useful, seem to be gradually waking up about the value of more standard / portable XAML with markup extensions etc. like in WPF

      > Microsoft abandon lots of technologies, Foxbase, J++, Windows Mobile, Windows Phone 7/8/8.1, Window RT, Silverlight, BizTalk....

      J++ had issues with Sun's policy on Java (see long time battle with Google on Android for example). I liked the J# concept (.NET managed language - was even Microsoft MVP for it for several years), pity they didn't opensource it. Needed work to keep up with newer .NET releases, although the Dynamic Language Runtime (DLR) could help to reimplement it. Would be useful for people wanting to reuse Java libraries in .NET without porting them to C# or using interfacing technology and two different IDEs (say VS and Eclipse or NetBeans).

      Windows Phone Silverlight layer still exists in Windows Phone 10 and one can keep on using it in their app (with some timing glitches that I've seen in my small game [Amnesia of Who], though they may be caused though by specific hardware, not by the SL layer)

      Windows Mobile was Windows CE (Microsoft's official realtime OS offering), still used along with Windows Embedded. Concepts from it (modularization) have gone into recent Windows I think (there's even a Nano server for example)

      WinRT is the ancestor of UWP concept (and also see Windows on ARM where Win32 emulation is coming to next gen Qualcomm processors)

      Abandoning Silverlight was quite a silly move - Probably they were afraid of another silly EU action that was being prepared at that time against them for trying to kill HTML via XAML (yep, those EU sillies that also forced us to click those "cookie consent" dialogs all the time, especially if we use cookie cleaning [since sites don't remember we consent #LOL])
      They kept Flash in Edge and so does Mozilla now - if only they had kept Silverlight as embedded engine too in Edge (after all it doesn't have the bad record of Flash in security issues).
      Also they still haven't released from what I know Desktop Bridge support for wrapping up Silverlight OOB (out of browser) apps and publishing them to Windows Store, although it should be easy for them to do (could even make the Store accept upload of Silverlight XAPs marked with OOB flag and rewrap them online as Bridge-based apps for the desktop store)

      btw, according to https://en.wikipedia.org/wiki/Microsoft_BizTalk_Server there's a BizTalk Server 2016

      > Bill Gates has an ambitious plan to write whole Windows with C# at the begging of year 2000.

      at some point they were writing UI parts in HTML/JavaScript, but now with UWP they probably write them in XAML (the UWP flavor) and C++ or even C# (note that UWP [at least as used in Windows Store] uses .NET native when you talk to it from C#/VB.net/etc., not the .NET Runtime) and they constantly update the UI via product-as-a-service concept via the store. Or at least most of the UI

      birbilis commented  · 

      ...regarding Ammy and NoesisGUI integration see https://github.com/aienabled/noesisgui.ammyintegration

      birbilis commented  · 

      Nice news about Noesis, hope they make it free for opensource apps too (please correct me if it is already so)

      btw, have seen they've been working with Ammy dev to support that too - hadn't heard about that one, it's something like SASS for XAML but with {...} style syntax and various goodies - http://www.ammyui.com/ - read some are using it to allow end-users to create skins (without messing with the lower-level XAML details)

      birbilis commented  · 

      Next Firefox version also disables all NPAPI plugins except Flash. Yeah, keep Flash with its security exploits, but not Silverlight. After all the Edge team led this silly race

      birbilis commented  · 

      btw, the native rendering approach of Xamarin.Forms is like that of Java's AWT which JMF/Swing tried to change (with a nicely designed but having bad [not natively feeling enough] native emulation L&Fs [Look and Feels / themes /skins] that gave it a bad name eventually).

      Another major issue was that you couldn't mix native and non-native (owner drawn in Swing) controls in the Z-order easily (you had to do various hacks with native code). Not sure what Xamarin.Forms does in that area

      Then later on came Eclipse with SWT to bring back the AWT approach. However, I don't see why I would need to do write-once-test-everywhere (and especially test with future platforms that aren't yet released) with the UI when I want to do write-once-run-anywhere (and especially release-once-run-anytime in the future).

      I'd like to control how my app shows and even define my app's visual identity to stand out. That's why there were libraries to do skinning for windows apps etc. It is nice to be able to use a native skin though without having to emulate it and I think that's what Xamarin tried to do with native renderers. One could probably have theme libs where all basic controls are rendered custom and the app and component authors could use just those controls (and define new via composition). Could also have some cross-platform theme(s) where those same controls are rendered via some cross-platform graphics primitives (XAML path etc.). So instead of having control authors provide native renderers for more speed, app authors could choose native (not emulated like Swing tried to do) themes for more speed. Don't know if SWT has such an approach, could be (haven't examined it much)

      birbilis commented  · 

      From what I remember Xamarin.Forms doesn't require you to always build native renderers, think they also added a model later on where your control can render via the controls it combines (for composite controls), or draw via XAML-based primitives. Think Petzold had written some article showing that. Don't remember very well though

      As for Moonlight, think there was a beta or better version for Winter Olympics back then that had Silverlight 4 feature parity. A problem with Moonlight back then (according to Miguel that is now at Microsoft after Xamarin acquisition) was if I remember well that Microsoft had licensed them the use of the native codecs that SL included but only for usage within the browser (not for OOB [out-of-browser] style apps that the Windows Silverlight had I guess that meant) and obviously this model (of needing a closed source part and special licensing) didn't go well with opensource spirit. That was one of the good things with Silverlight btw, it came with cross-platform codecs in it (MP4/WMV video, MP3/WMA audio) so you didn't have to worry about what codec-**** the client had installed

      birbilis commented  · 

      Btw WPF also had 3D in XAML. It's not impossible to envision 3D scene graphs in XML, see VRML97 format's evolution as X3D for example

      birbilis commented  · 

      See VSTU (Visual Studio Tools for Unity), acquired by MS and made free

    • 6,175 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        82 comments  ·  Visual Studio IDE » .NET  ·  Flag idea as inappropriate…  ·  Admin →
        birbilis commented  · 

        If one also considers Silverlight-based UIs for Windows Embedded (for POS etc.), there must be more apps out there. MS never seems to have counted apps used in intranets, nor RIA apps, just treated Silverlight as if it was for Flash-style website animations and effects. It would be nice if they could eventually offer a .NET Core + XAML -> WASM solution, however it would still need some work to port stuff like SMF/MMPPF media framework

        birbilis commented  · 

        Well, we want .NET in the browser with XAML UI, it's not about Silverlight itself.

        When Microsoft decides to build it (on WASM or integrated as they do with Flash in Edge) we'll be happy to catch up

        birbilis supported this idea  · 
        birbilis commented  · 

        Moonlight was abandoned because Microsoft wasn't licensing the codecs for newer versions of it from what I've read. The team behind Mono and Moonlight is now Xamarin and they've gone a different path to monetize their work (they're into C# portability, but they offer no solution for UI portability via XAML which Microsoft should look into)

        birbilis commented  · 

        There is a problem with this concept though, in that the user may have to install several flavours of Silverlight which would be a disaster

        Instead Microsoft should implement (APART FROM FLASH THAT THEY'VE ALREADY ADDED SUPPORT FOR) Silverlight in Win8 Internet Explorer Metro version and even better on Xbox IE too

      • 1,091 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          54 comments  ·  Visual Studio IDE » Languages - Other  ·  Flag idea as inappropriate…  ·  Admin →
          birbilis commented  · 

          there is an answer here showing how to use Silverlight SDK and msbuild to build SL5 projects. Probably with a VS extension some support could be brought back - https://stackoverflow.com/questions/43294628/solution-for-developing-in-windows-silverlight-in-visual-studio-2017

          when porting code, sometimes you want to refactor it at both the new (and not compiling) target and the old target to make porting easier. In that case you want to be able to check that the old target still compiles and the refactoring didn't break something (so that you find it early in the porting process, not after you finally make it to compile the project say in UWP).

          Or you may be maintaining existing deployment and porting to new platform at the same time and want to use a solution with multiple targets and shared code

          Or you may be a library author and want to still support older platforms you were supporting with a common solution, not multiple ones and different IDEs

          birbilis commented  · 

          It should be an optional installation item indeed, don't see why they make life of those maintaining solutions with projects target multiple platforms harder

        • 1 vote
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            0 comments  ·  Visual Studio IDE » Debugging and Diagnostics  ·  Flag idea as inappropriate…  ·  Admin →
            birbilis shared this idea  · 
          • 1 vote
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              3 comments  ·  Visual Studio IDE » Debugging and Diagnostics  ·  Flag idea as inappropriate…  ·  Admin →
              birbilis commented  · 

              btw, my related suggestion (for toggling breakpoints on all methods via the class name line) that I had mentioned below is here: https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/30948964-toggle-breakpoint-for-class-toggle-breakpoints-fo

              birbilis commented  · 

              OOPS, something fishy is happening here on VS2017. At constructor it does allow you to place the breakpoint on the method signature so that when collapsed you can still see it has breakpoint set, but at methods it doesn't, it moves the breakpoint to the starting {

              btw, showing a ghost breakpoint symbol (maybe like a hollow pale-red circle that can show arround a method-signature breakpoint would be nice to signify that a method has some breakpoint in its body (in case it is collapsed). It still isn't alternative for allowing to add on the method signature a breakpoint (you need to know when it is collapsed that it will break immediately upon entry)

              birbilis commented  · 

              looks like it is working as you expected in VS2017 - btw, I'm posting a new suggestion on toggling breakpoints for all methods (including property accessors) from the class name line

            • 0 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                1 comment  ·  Visual Studio IDE » Debugging and Diagnostics  ·  Flag idea as inappropriate…  ·  Admin →
                birbilis commented  · 

                actually, an older related suggestion says GDB has similar feature (set breakpoints for all functions). So for non-class files (say VB modules) it would be nice to have too (and also for files that don't have some grouping node at the top the action could be done via some popup menu)

                https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/5075429-enter-breakpoints-on-all-functions

                birbilis shared this idea  · 
              • 1 vote
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Visual Studio IDE » IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
                  birbilis shared this idea  · 
                • 1 vote
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  Visual Studio IDE » IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
                    birbilis shared this idea  · 
                  • 1 vote
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      0 comments  ·  Visual Studio IDE » IDE and Editor  ·  Flag idea as inappropriate…  ·  Admin →
                      birbilis shared this idea  · 
                    • 2 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                        birbilis supported this idea  · 
                        birbilis commented  · 

                        I was just going to propose a similar syntax:

                        for (SomeType repeaterVariable

                        in SomeEnumerable

                        where someBooleanExpressionOfRepeaterVariable)

                        doSomethingUsingRepeaterVariable;

                        see
                        https://zoomicon.wordpress.com/2016/05/16/suggestion-add-optional-where-clause-to-foreach-statement-in-c/

                      • 2,100 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          240 comments  ·  Visual Studio IDE » Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                          birbilis commented  · 

                          He didn't bother to suggest a Silverlight to HTML5 (many efforts by third parties are in development), but revive the mummy?

                          What is needed is BETTER DESIGNER panes for Visual Studio and more focus on GUI first design, not code first one.

                          Or to let user choose the focus and hide the ugly details

                          Btw at http://zoomicon.com/tranxform you can find older contribution of mine in VB6 to ASP.net conversion. Was used in real big project with 17000 users and combined with ADO Recordset emulation over ADO.net that I haven't yet published

                        • 1,026 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            19 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                            birbilis commented  · 

                            it would be nice if C# supported syntax like:

                            public static DependencyProperty Register(static DependencyProperty x, string name, Type propertyType, Type ownerType, FrameworkPropertyMetadata typeMetadata)

                            that is static extension methods for classes, that can be invoked without a class instance (just with the class type), apart from normal extension methods that can be invoked on a class instance.

                            Then for example I could use it in Silverlight to add to its DependencyProperty class some extra WPF syntax that it currently misses, in order to increase code portability. It would wrap Dr.WPF's implementation of value coercion for Silverlight’s DependencyProperty. I have the related code at my Compatibility library (http://Compatibility.codeplex.com) and respective NuGet package (http://nuget.org/packages/Compatibility), but the syntactic sugar is missing to achieve source code portability (via WPF and Silverlight projects that include common files via file links) without changes.

                            Note the "static DependencyProperty" parameter instead of the "this DependencyProperty" one that is used in C# extension methods (or else instead of static maybe they could use other keyword like type or typeof there, but I feel static is more appropriate).

                            Related discussion:

                            http://stackoverflow.com/questions/866921/static-extension-methods

                            http://stackoverflow.com/questions/249222/can-i-add-extension-methods-to-an-existing-static-class

                            Also I see somebody mentions in a comment below "static extension properties" apart from "extension properties". Indeed it is natural that if static extension methods are to be allowed in the future, together with extension properties, then static extension properties should be added too (to extend a type with [attached] static properties)

                          • 1,694 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              15 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                              birbilis commented  · 

                              also see https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/2060313-c-support-static-extension-methods-like-f where somebody mentions "static extension properties" apart from "extension properties". Indeed it is natural that if static extension methods are to be allowed in the future, static extension properties should be added too (to extend a type with [attached] static properties)

                              birbilis commented  · 

                              static extension methods would be nice to have too

                              birbilis commented  · 

                              from Unity's blog "Hopefully one day C# gets extension properties. Should those have existed, we would have been able to keep source-level compatibility and still move the rigidBody code out into its own module." http://blogs.unity3d.com/2014/06/23/unity5-api-changes-automatic-script-updating/

                              I've also come across this need trying to make compatibility API layers eg. for WPF in Silverlight etc.

                              of course security implications have to be taken in mind, but since there are extension methods out there, don't see why extension properties couldn't be implemented too

                            • 0 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                birbilis commented  · 

                                It came to me while I was trying to implement Silverlight’s CompositeTransform for WPF:

                                public static readonly DependencyProperty CenterXProperty =
                                DependencyProperty.Register("CenterX", typeof(double), typeof(CompositeTransform),
                                new PropertyMetadata(OnCenterXPropertyChanged));

                                for the Compatibility library I maintain at http://github.com/zoomicon/Compatibility.

                                I have used that library a lot in ClipFlair to maintain a common C# source and XAML between Silverlight and WPF projects (I do code sharing between projects via linked files).

                                birbilis shared this idea  · 
                              • 3 votes
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                  birbilis commented  · 

                                  It is rather unfortunate that C# doesn’t support constants in interfaces, whereas Java does.

                                  If IL (intermediate language) that C# usually compiles to (when not using AOT that is like in .NET Native or Xamarin iOS) doesn’t support this, then the compiler could create a special sealed class to carry the constants.

                                  Then, wherever they’re used via the interface it could get them via that class. This would happen internally without the programmer noticing. The programmer should be able to access the constants using:

                                  ISomeInterface.SomeConstant

                                  SomeClass.SomeConstant, where SomeClass implements ISomeInterface

                                  just SomeConstant when the code is inside the body of SomeClass that implements the ISomeInterface

                                  just SomeConstant when there is a “using static” statement (that newer C# has introduced) like “using static ISomeInteface” or “using static ISomeClass”

                                  see a screenshot at the above URL, like in Java I'd like to use an interface instead of a separate static class to provide constants related to the interface

                                  birbilis shared this idea  · 
                                • 0 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                    birbilis commented  · 

                                    It would be nice if one could write in C# (and maybe in other .NET languages too):

                                    s = s.SomeMethodOfS(…)…

                                    as

                                    s .= SomeMethodOfS(…)…

                                    that is to have a .= operator, similar to += and other shorthand experession operators

                                    see screenshot for an example usecase from the opensource project FoscamController at the URL mentioned above


                                    Ideally, usage of such operators should lead to compiling – whether is is via JIT (Just in Time) or AOT (Ahead of Time) compilation – into more optimized native code, but I’m not sure if C# compilers are exploting that optimization opportunity.

                                    birbilis shared this idea  · 
                                  • 1 vote
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      3 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                      birbilis commented  · 

                                      thanks for the pointer Bertrand, having worked with Object Pascal / Delphi for many years too I like its cleaner syntax on this one

                                      birbilis commented  · 

                                      In the screenshot that you can see at the end of
                                      https://zoomicon.wordpress.com/2015/09/05/suggestion-allow-local-nested-methods-inside-any-code-block/
                                      I'd like the methos InitSpeechRecognition to only be callable from inside the method LoadSpeechRecognitionPlugin. I use two methods there to split a bigger method, but I don't want the 2nd one to be accidentally called from elsewhere in my code.

                                      birbilis shared this idea  · 
                                    • 4 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        1 comment  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                        birbilis commented  · 

                                        (also published at https://zoomicon.wordpress.com/2015/09/01/suggestion-define-scoped-variable-at-c-switch-conditional-statement/ formatted a bit better there in case you don't see the point check the bold text at that post)

                                        birbilis shared this idea  · 
                                      • 1 vote
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          0 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                          birbilis shared this idea  · 
                                        • 0 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            0 comments  ·  Visual Studio IDE » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
                                            birbilis shared this idea  · 
                                          ← Previous 1

                                          Feedback and Knowledge Base