Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια
σε

 

Αρχική σελίδα Ιστολόγια Συζητήσεις Εκθέσεις Φωτογραφιών Αρχειοθήκες

Παρουσίαση με Ετικέτες

Όλες οι Ετικέτε... » Posts » Methods » Suggestion   (RSS)
  • Suggestion: C# static extension methods invokable on class type too

    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 ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Δεκεμβρίου 9, 2015
  • Suggestion: Introduce .= operator for C#

    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     Ideally, ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Νοεμβρίου 11, 2015
  • Suggestion: Define once and reuse result type of method inside its body

    It would be nice if one could rewrite this C# snippet: public SortedDictionary<string, UObject> GetObjects() {   SortedDictionary<string, UObject> result = new SortedDictionary<string, UObject>();   using (ReadTransaction xact = namingSchema.ReadTransaction())     foreach (ObjectName.RowType row in ...
    Δημοσιεύτηκε στο George Birbilis' blog (Weblog) από το μέλος birbilis στις Νοεμβρίου 10, 2015
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems