Tag

.NET

正在浏览与 .NET 相关的文章。

430 篇文章
10 当前页
C#Array Deletion Cheats: Quick Deletion Tips reveal to make your code more efficient!

C#Array Deletion Cheats: Quick Deletion Tips reveal to make your code more efficient!

When it comes to deleting elements in a C#array, you may encounter two common methods: regular deletes and swap deletes (quick deletes). Normal deletes require traversing the array and moving elements, while swap deletes delete by swapping element positions. This article describes the time complexity of these two methods and provides sample code to demonstrate their use. By learning these quick removal techniques, you will be able to optimize your code to make it more efficient. Let's reveal these tips together to make your code better!

沙漠尽头的狼 11/11/2023 6:11 PM
Deep understanding of C#bit operations: mastering the magic use of bit operators

Deep understanding of C#bit operations: mastering the magic use of bit operators

C#bit arithmetic is a powerful tool that can play an important role in processing binary data and bit operations. By using bit operators, we can perform bit-level operations on integers, such as bit AND, bit OR, bit XOR, and bit negation. Bit operations can be used to optimize performance, compress data, implement bit masks and bit flags, etc. Understanding and mastering the basic principles and common application scenarios of C#bit operations will allow us to process binary data more efficiently and in some cases improve the performance and readability of the code. By deeply understanding C#bit operations, we can exercise greater creativity and flexibility in programming.

沙漠尽头的狼 11/6/2023 11:15 PM
NET Toolbox: An open source, free pure front-end tool website that takes you to explore the top 10 tool categories and 73 real-time online widgets

NET Toolbox: An open source, free pure front-end tool website that takes you to explore the top 10 tool categories and 73 real-time online widgets

The Dotnet Toolkit is a pure front-end, open source and free tool website. Over the weekend, I referred to the open source project it-tools, Chinese-transformed the website interface text, and redeployed the website. The website has a total of 10 tool categories and provides 73 real-time online widgets. The Dotnet toolbox developed using Vue3 has unique features. This article introduces some of these featured tools in detail and briefly shares how to deploy your own tool website. If you are interested in tool websites, come and learn about the Dotnet Toolkit!

沙漠尽头的狼 10/16/2023 2:08 PM
NET decompilation, third-party library debugging (interception, tampering, counterfeiting), one library multiple versions compatible

NET decompilation, third-party library debugging (interception, tampering, counterfeiting), one library multiple versions compatible

Simulate the actual application scenario of. NET and comprehensively apply three main knowledge points: first, use dnSpy to decompile and debug the third library, second, use the Lib.Harmony library to realize interception and counterfeiting of the third library, and third, realize that the same library supports multiple versions. Reference.

沙漠尽头的狼 9/26/2023 12:16 AM
Comparative analysis of cross-platform frameworks based on XAML

Comparative analysis of cross-platform frameworks based on XAML

Over the years, XAML-based UI frameworks have developed a lot. These frameworks mainly include: Avalonia UI, Uno Platform and. NET MAUI that support cross-platform applications. If Microsoft had launched a cross-platform UI framework like Flutter earlier, we might not have had so many options.

czwy 9/21/2023 10:15 PM