c#
24 items tagged with "c#"
Articles
Clean out All Style Attributes using HTML Agility Pack .NET
HTML Agility Pack (HAP) is one of the most commonly used .NET package to parse HTML. It creates a document object model in memory, which can be use to manipulate the nodes (including both elements and attributes). The package can be added to your project from NuGet via the following CLI: `` dotnet add package HtmlAgilityPack --version 1.11.43 ` This code snippet provides one example of using this HAP to remove all style `attributes. The script can be run as C# script. For more details, refer to Html Agility Pack.
HTML Parsing using HTML Agility Pack .NET
HTML Agility Pack (HAP) is one of the most commonly used .NET package to parse HTML. It creates a document object model in memory, which can be use to manipulate the nodes (including both elements and attributes). The package can be added to your project from NuGet via the following CLI: `` dotnet add package HtmlAgilityPack --version 1.11.43 ` This code snippet provides one example of using this HAP to remove all script `elements. The script can be run as C# script. For more details, refer to Html Agility Pack.
C# 11 New Feature - Raw String Literals
Load Fonts as Glyph in .NET
C# - Get Current and Last Month Start and End Date
Apache Ignite Installation on Windows
C#: Get Index value in foreach Loop of IEnumerable
Query JSON via JMESPath in .NET
.NET - Transform XML Data with XSLT
Read Environment Variables in .NET Azure Functions
C#: Base64 URL Encoder and Decoder
Read Embedded Assembly Resource Files in .NET
Draw Images in ASP.NET Core 5
Get IP Address in ASP.NET Core 5
.NET Standard for C# 9.0
Introduction to C# Interactive
Get IP Address in ASP.NET Core 3.x
C# Regex - Remove Heading Tags
LINQ to SQL - Select N Random Records
Send Emails using Microsoft 365 in ASP.NET Core
Entity Framework Core Code-First - Generate Covering Index with Columns Included
Read and parse JSON in C# / .NET Framework
JSON is commonly used in modern applications for data storage and transfers. Pretty much all programming languages provide APIs to parse JSON.
[C#] Connect to Teradata Database via .NET Data Provider
C/C++与C#不同点对比分析总结
本文阐述C/C++与C#的不同点,从数据结构与类型,关键字,语法结构,面向对象等角度出发,不涵盖所有不同点。