<details>
<summary>Click me</summary>
### Heading
1. Foo
2. Bar
* Baz
* Qux
What is the classic way to check if for example a parameter value is null? If you’ve developed with C# since a while, you might be familiar with this classic syntax:
public static int CountNumberOfSInName(string name)
{
if (name == null)
{
throw new ArgumentNullException(nameof(name));
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger: | |
- master | |
pool: | |
vmImage: ubuntu-latest | |
variables: | |
buildConfiguration: 'Release' | |
dotNetFramework: 'net6.0' | |
dotNetVersion: '6.0.x' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Obtém a data de vencimento de uma linha digitável de um boleto. | |
/// </summary> | |
/// <param name="linhaDigitavel">A string contendo a linha digitável a ser extraída a data.</param> | |
/// <returns> | |
/// Retorna uma string com a data de vencimento de um boleto. | |
/// </returns> | |
public static string ObterDataVencimentoBoleto(this string linhaDigitavel) | |
{ | |
string linha = linhaDigitavel.RemoverPontosEspacosHifens(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "WebSample", | |
"type": "coreclr", | |
"request": "launch", | |
"preLaunchTask": "build", | |
"program": "${workspaceFolder}/WebSample/bin/Debug/net6.0/WebSample.dll", | |
"args": [], |
People
![]() :bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |