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.Collections.Generic; | |
namespace DataStructuresCsharp | |
{ | |
public class GerenciadorFilaAtendimento | |
{ | |
private Queue<int> _filaAtendimento; | |
private int _proximoNumeroParaGerar = 1; |
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 DataStructuresCsharp | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var historicoOperacoes = new HistoricoOperacoes("LuisDev"); |
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.Collections.Generic; | |
namespace DataStructuresCsharp | |
{ | |
public class HistoricoOperacoes | |
{ | |
private Stack<string> _historico; | |
public HistoricoOperacoes(string nomeUsuario) |
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 ManipulandoStrings | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
double preco = 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; | |
using System.Text; | |
namespace ManipulandoStrings | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var nomes = new string[] { "Luis", "Francisco", "Leonardo", "Ivan", "Lucas", "Paulo" }; |
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 ManipulandoStrings | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
const string frase = "LuisDev é um blog do Luis Felipe"; |
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 _42_ConsumeData | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var serviceReferenceClient = new ServiceReference1.ServiceClient(); |
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.Xml; | |
namespace _42_ConsumeData | |
{ | |
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 Newtonsoft.Json; | |
using System; | |
namespace _42_ConsumeData | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var jsonProduct = "{ \"description\": \"Product 5\", \"quantity\": 500, \"price\": 150.0 }"; |
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.Data.SqlClient; | |
using System.Transactions; | |
namespace _42_ConsumeData | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |