#c-sharp
C#
One of my favorite language.
- posts
- 6
- snippets
- 2
- stories
- 47
- videos
- 22
- tools
- 0
git log -- c-sharp
- NDepend - The Best-in-class Static Code Analyzer for Dotnet
NDepend is my favorite static code analyzer for dotnet. Check how I use it.
- C# - Convert DateTime to Long and Vice Versa
Transform datetime to long or long to datetime in C#.
- C# - Get Last N characters from a string
A simple C# extension method which use Substring to get the last N characters in a string.
- C# - Get Web.Config Connection String in a Class Library
If you can, pass the connection string as a parameter to the class library. Second option is System.Configuration.ConfigurationManager
- Using AutoMapper in a .NET Core Class Library
Configuring and using AutoMapper in a .NET CORE class library is briefed in this article.
- Check if string is Arabic - C#
In one simple line of code, we can check whether the given string is Arabic or not, in C#.
snippets
- C# c-sharp/ Truncate String Without Word Break
Truncate string at a word near to the limit specified. Avoid word split.
- C# c-sharp/ Mask String
Mask string, mobile number etc. Usefull while logging sensitive content.
recommended stories
-
blog.eterm.uk ·
Performance Pitfalls in C# / .NET - List Contains (opens in a new tab) -
c-sharpcorner.com ·
Difference Between var, dynamic, and object in C# (opens in a new tab) -
dev.to ·
Modern C# Development: Custom Exceptions Made Simple - DEV Community (opens in a new tab) -
devblogs.microsoft.com ·
Refactor your C# code with primary constructors - .NET Blog (opens in a new tab) -
steven-giesel.com ·
Overload resolution in C# (opens in a new tab) -
code-maze.com ·
BitArray in C# - Code Maze (opens in a new tab)
videos
-
C# Project Management in VS Code [Pt 3] | C# and .NET Development in VS Code for Beginners (video, opens in a new tab) -
Installing VS Code and C# Dev Kit [Pt 2] | C# and .NET Development in VS Code for Beginners (video, opens in a new tab) -
What is VS Code and C# Dev Kit? [Pt 1] | C# and .NET Development in VS Code for Beginners (video, opens in a new tab)