Telerik blogs
  • Productivity

    5 Things You Should Know About Refactoring in C#

    There are many misconceptions among developers and development managers about refactoring. Perhaps a consultant used refactoring as an excuse to spend needless cycles reading blogs, or maybe a “refactoring” was blamed for a large swath of bugs found in a release. Regardless of the source, there are development shops that cower in fear or scream in terror when the word “refactoring” is uttered aloud. The problem is they were frightened by something other than refactoring. I hang out with developers around the globe at conferences, user groups, and sometimes just to grab a bite to eat. I enjoy discussing code and long...
    May 27, 2021 3 min read
  • Mobile

    Lambda woes with csc

    While helping with the development of our Tasks application I stumbled upon a strange compiler error. There was a lambda expression that was compiling just fine before I touched the file with the lambda and after changing a line inside the body of the lambda, the project suddenly stopped compiling. The error was, that it could not find an adequate overload of the method that accepted the lambda in question as an argument. The cause turned out to be very interesting(for me at least) and I think it is worth sharing. Consider that you have a function with two overloads that both accept...
    May 27, 2021 2 min read
  • Productivity

    Fun with pointers in C#

    Disclaimer: this post is all about fun. It is not about: turning a bug into a feature; some new isolation/mocking practice; wow, look what I will do with pointers in my next project; It is all about fun :)
    May 27, 2021 4 min read
  • Productivity

    Navigate Quickly with JustCode and Ctrl+Click

    Ctrl + Click is a widely used shortcut for Go To Definition in many development environments but not in Visual Studio. We, the JustCode team, find it really useful so we added it to Visual Studio. But we didn't stop there - we improved it even further. Read on to find the details. With JustCode you get an enhanced Go To Definition. By default you can execute it in the Visual Studio editor using one of the following shortcuts: Middle Click, Ctrl+Left Click, F12, Ctrl+Enter, Ctrl+B. The first usage of this feature is not much different from the default Visual Studio...
    May 27, 2021 3 min read
  • Web

    Navigation for CoverFlow

    The Silverlight team decided to remove the ScrollBar control that used to be part of CoverFlow's control template. One of the reasons behind this decision is the easiness by which you can now, using Silverlight 3 element binding, create your own navigation. To learn more about all changes introduced by the beta version check my previous blog post here. This article explains in details how to create your own navigation using a range control, e.g. one that inherits from the RangeBase class. The first thing we need to do is to declare a CoverFlow control with some items in a straight-forward...
    May 27, 2021 3 min read