About 50 results
Open links in new tab
  1. What is the use of "ref" for reference-type variables in C#?

    Without ref, the reference is passed by value, and this doesn't happen. C# also has the 'out' keyword which is a lot like ref, except that with 'ref', arguments must be initialized before calling the method, …

  2. How to get $refs using Composition API in Vue3? - Stack Overflow

    Feb 12, 2022 · Learn how to access $refs in Vue3 using the Composition API with practical examples and solutions.

  3. vue.js - `ref ()` vs `reactive ()` in Vue 3? - Stack Overflow

    Apr 27, 2020 · I checked a few guides for Vue 3 and noticed that in some examples they used reactive(), while in others they created the same thing with ref(). They seem to behave very similarly, but which …

  4. Git debugging - "error: could not delete references: cannot lock ref ...

    Apr 10, 2025 · Git debugging - "error: could not delete references: cannot lock ref" "File exists" Asked 9 months ago Modified 2 months ago Viewed 3k times

  5. What is the difference between ref, toRef and toRefs?

    Mar 11, 2021 · I have just started working with Vue 3 and the Composition API. What are the differences between ref, toRef and toRefs?

  6. Why use the 'ref' keyword when passing an object?

    4 By using the ref keyword with reference types you are effectively passing a reference to the reference. In many ways it's the same as using the out keyword but with the minor difference that there's no …

  7. Difference between ref and out parameters in .NET [duplicate]

    What is the difference between ref and out parameters in .NET? What are the situations where one can be more useful than the other? What would be a code snippet where one can be used and another ca...

  8. Swagger/OpenAPI - use $ref to pass a reusable defined parameter

    Nov 19, 2014 · This feature already exists in Swagger 2.0. The linked ticket talks about some specific mechanics of it which doesn't affect the functionality of this feature. At the top level object (referred to …

  9. How to use "$ref" in json schema properly - Stack Overflow

    May 17, 2020 · The thing is that $ref doesn't work everywhere, it works only in places where a schema is expected. Only schema can be substituted via $ref, not "any piece of JSON".

  10. When to use ref and when it is not necessary in C#

    Mar 12, 2009 · The ref keyword signifies that you're passing the actual pointer to the location and updating that pointer in the outside function, so the value in the outside function will change. E.g. the …