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
using System; | |
using System.IO; | |
using System.Security.Cryptography; | |
namespace _32_Symmetric_Asymmetric_Encryption | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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
using System; | |
using System.Text.RegularExpressions; | |
namespace _31_ValidateAppInput | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string email = "[email protected]"; |
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
using System; | |
namespace _31_ValidateAppInput | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string decimalString = "10.4"; | |
const string intString = "50"; |
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
using _31_ValidateAppInput.Models; | |
using Newtonsoft.Json; | |
using System; | |
using System.Web.Script.Serialization; | |
namespace _31_ValidateAppInput | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
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
using _31_ValidateAppInput.Models; | |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel.DataAnnotations; | |
using System.Linq; | |
namespace _31_ValidateAppInput | |
{ | |
class Program | |
{ |
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
using System; | |
using System.Globalization; | |
namespace _27_ManipulateStrings | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
double price = 14.99; |
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
using System; | |
namespace _27_ManipulateStrings | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string alphabet = "abcdefghijklmnopqrstuvwxyz"; |
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
using System; | |
namespace _27_ManipulateStrings | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string phrase = "Luis would love to have free time to release articles weekly. Give me time..."; |
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
using Newtonsoft.Json; | |
using System; | |
using System.IO; | |
using System.Text; | |
namespace _27_ManipulateStrings | |
{ | |
public class Program | |
{ | |
static void Main(string[] args) |
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
using System; | |
namespace _26_ManageObjLifecycle | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var baseClassWithFinalizer = new BaseClassWithFinalizer(); | |
baseClassWithFinalizer = null; |