C#

Showing 10-18 of 23 results
EngineeringIcon ChevronData Science and Databases

Conquer String Search with the Aho-Corasick Algorithm

By Roman Vashchegin

The Aho-Corasick algorithm can be used to efficiently search for multiple patterns in a large blob of text, making it a really useful algorithm in data science and many other areas. In this article, Toptal Freelance Software Engineer Roman Vashchegin shows how the Aho-Corasick algorithm uses a trie data structure to efficiently match a dictionary of words against any text.

16 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Make an Android and iOS App in C# on Mac

By Demir Selmanovic

In the past few years, Microsoft has pulled a few aces from up its sleeve. Yes, they messed up Skype, failed with smartphones, and almost succeeded with tablets. But they did some really amazing things as well. Relinquishing their closed empire approach, they open-sourced .NET, joined the Linux Foundation, released SQL Server for Linux, and created this great new tool called Visual Studio for Mac. In this post, Head of Open Source Demir Selmanovic details how to make an Android and iOS app in C# on your Mac.

9 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Improve ASP.NET App Performance in Web Farm With Caching

By Daniel Ivanov

Caching is a powerful technique for increasing performance, but the whole idea behind caching works only as long as the result we cached remains valid. And here we get to the hard part of the problem: How do we determine when a cached item has become invalid and needs to be recreated? In this article, Toptal Freelance Software Engineer Daniel Ivanov provides an ASP.NET-based solution to replace invalid cached items and assure high throughput and performance of web applications designed to handle a high load.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

10 Common Unity Mistakes

By Tomas Macek

Before you use Unity’s straightforward and intuitive tool for multi-platform development, become familiar with and avoid these common Unity mistakes.

12 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Boot-strap and Create .NET Projects

By Andrei Smirnov

To create a .NET project from scratch, simply using Visual Studio Wizard is good enough most of the time. However, the default project settings produced by wizards are hardly acceptable for professional teams, as they set too low of a bar on quality. In this article, Toptal Freelance Software Engineer Andrei Smirnov guides us through several standard practices, configuration files, and project settings every developer should apply when starting a new .NET project. Doing this in the very beginning of a project decreases future technical debt and makes product source code readable and professional-looking.

12 minute readContinue Reading
EngineeringIcon ChevronTechnology

Project Rider: A Standalone ReSharper IDE

By Kate Scheer

With Microsoft’s no-brainer shift towards open source and interoperability it was only a matter of time before we started seeing alternatives to some of their key products, like Visual Studio. Enter Project Rider: the code name for IDE guru JetBrains’ competition to Visual Studio. Here’s the lowdown on Project Rider, the newest member of the IntelliJ platform family.

6 minute readContinue Reading
EngineeringIcon ChevronBack-end

Single Responsibility Principle: A Recipe for Great Code

By Adel Fayzrakhmanov

Maintainable code is something we all desire and there are no shortage of coding principles that promise it. It is not always apparent how tremendously useful these principles are during the early stages of development. Nonetheless, the effort put in to ensure these qualities certainly pay off as the project grows and development continues. In this article, Toptal engineer Adel Fayzrakhmanov discusses how the Single Responsibility Principle is one of the most important aspect in writing good maintainable code.

9 minute readContinue Reading
EngineeringIcon ChevronBack-end

Unity With MVC: How to Level Up Your Game Development

By Eduardo Dias da Costa

In this article I’ll relate my experience with the popular Unity game development platform and the Model-View-Controller (MVC) pattern for game development. In my seven years of development, having wrestled with my fair share of game dev spaghetti, I’ve been achieving great code structure and development speed using this design pattern.

15 minute readContinue Reading
EngineeringIcon ChevronBack-end

Unit Testing and Coding: Why Testable Code Matters

By Sergey Kolodiy

In this article, I will show that unit testing itself is quite easy; the real problems that complicate unit testing, and introduce expensive complexity, are a result of poorly-designed, untestable code. We will discuss what makes code hard to test, which anti-patterns and bad practices we should avoid to improve testability, and what other benefits we can achieve by writing testable code. We will see that writing testable code is not just about making testing less troublesome, but about making the code itself more robust, and easier to maintain.

22 minute readContinue Reading

Join the Toptal® community.