├── new ├── CanisLupus.cs ├── CanisLupusFamiliaris.cs ├── App.config ├── GranDanes.cs ├── Chihuahua.cs ├── Canis.cs ├── Zoo.sln ├── Properties │ └── AssemblyInfo.cs └── Program.cs ├── Attributes ├── Nokia3310.config ├── Smartphone.cs ├── Galaxy.cs ├── IPhone.cs ├── Nokia3310.cs ├── Attributes.sln ├── Properties │ └── AssemblyInfo.cs ├── ValidCarrierAttribute.cs ├── Attributes.csproj └── Program.cs ├── async ├── iOS │ ├── Assets.xcassets │ │ └── Contents.json │ ├── packages.config │ ├── Entitlements.plist │ ├── Main.cs │ ├── AppDelegate.cs │ ├── LaunchScreen.storyboard │ └── Info.plist ├── Droid │ ├── Resources │ │ ├── drawable │ │ │ └── icon.png │ │ ├── drawable-hdpi │ │ │ └── icon.png │ │ ├── drawable-xhdpi │ │ │ └── icon.png │ │ ├── drawable-xxhdpi │ │ │ └── icon.png │ │ ├── layout │ │ │ ├── Toolbar.axml │ │ │ └── Tabbar.axml │ │ ├── Resource.designer.cs │ │ ├── values │ │ │ └── styles.xml │ │ └── AboutResources.txt │ ├── Properties │ │ ├── AndroidManifest.xml │ │ └── AssemblyInfo.cs │ ├── packages.config │ ├── Assets │ │ └── AboutAssets.txt │ └── MainActivity.cs └── Async.Movil │ ├── packages.config │ ├── App.xaml │ ├── App.xaml.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── MainPage.xaml │ └── MainPage.xaml.cs ├── MetodosTry ├── App.config ├── MetodosTry.sln ├── Properties │ └── AssemblyInfo.cs └── Program.cs ├── Resxs ├── App.config ├── Resxs.sln ├── Properties │ └── AssemblyInfo.cs └── Program.cs ├── espacios ├── App.config ├── Program.cs └── Properties │ └── AssemblyInfo.cs ├── Enums ├── Enums │ ├── App.config │ ├── Properties │ │ └── AssemblyInfo.cs │ └── Program.cs └── Enums.sln ├── Operadores ├── App.config ├── Operadores.sln ├── Toy.cs ├── Properties │ └── AssemblyInfo.cs └── Bundle.cs ├── Reflexion ├── App.config ├── ValidCarrierAttribute.cs ├── Smartphone.cs ├── reflexion.sln └── Properties │ └── AssemblyInfo.cs ├── excepciones ├── App.config ├── Adulto.cs ├── Excepciones.sln ├── Properties │ └── AssemblyInfo.cs ├── Program.cs └── Excepciones.csproj ├── CortoCircuito ├── App.config ├── Cortocircuito.sln ├── Program.cs ├── Properties │ └── AssemblyInfo.cs └── Cortocircuito.csproj ├── ExtensionMethods ├── App.config ├── Program.cs ├── ExtensionMethods.sln ├── Properties │ └── AssemblyInfo.cs └── StringExtensions.cs ├── GenericMethods ├── App.config ├── Athlete.cs ├── FootballPlayer.cs ├── BaseballPlayer.cs ├── Team.cs ├── GenericMethods.sln ├── Properties │ └── AssemblyInfo.cs └── Program.cs ├── Usings ├── Usings │ ├── App.config │ ├── NoDesechable.cs │ ├── Desechable.cs │ ├── Homer.txt │ └── Properties │ │ └── AssemblyInfo.cs └── Usings.sln ├── Generics ├── FootballPlayer.cs ├── BaseballPlayer.cs ├── Athlete.cs ├── Box.cs ├── Team.cs ├── BaseballTeam.cs ├── FootballTeam.cs ├── ComplexBox.cs ├── LimitedBox.cs ├── .gitignore ├── Generics.sln ├── Properties │ └── AssemblyInfo.cs ├── Program.cs └── Generics.csproj ├── directives ├── Directivas │ ├── App.config │ ├── Program.cs │ └── Properties │ │ └── AssemblyInfo.cs └── Directivas.sln ├── Parciales ├── CoreiOS.cs ├── CoreAndroid.cs ├── ProgramMethods.cs ├── Page.cs ├── Program.cs ├── Core.cs ├── Page.Designer.cs ├── Parciales.sln ├── Properties │ └── AssemblyInfo.cs └── Parciales.csproj ├── linq-en-c-sharp-2 ├── LinqPost2 │ ├── Lecture.cs │ ├── Teacher.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── LinqPost2.csproj └── LinqPost2.sln ├── linq-en-c-sharp-3 ├── LinqPost3 │ ├── Lecture.cs │ ├── Teacher.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── LinqPost3.csproj └── LinqPost3.sln ├── linq-en-c-sharp-4 ├── NameEqualityComparer.cs ├── Persona.cs ├── Linq4.sln ├── Properties │ └── AssemblyInfo.cs └── Linq4.csproj ├── Casteo ├── Persona.cs ├── Casteo.sln ├── Program.cs ├── Properties │ └── AssemblyInfo.cs ├── Unidades.cs └── Casteo.csproj ├── DebuggingTips ├── TestClass.cs ├── Program.cs ├── DebuggingTips.sln ├── Properties │ └── AssemblyInfo.cs └── DebuggingTips.csproj ├── yield ├── NotSoRandom.cs ├── Yield.sln ├── Properties │ └── AssemblyInfo.cs └── Yield.csproj ├── events ├── .gitignore ├── Events.sln └── events │ ├── Properties │ └── AssemblyInfo.cs │ ├── Generator.cs │ ├── Program.cs │ └── events.csproj ├── Methods ├── Program.cs ├── Methods.sln ├── Driver.cs ├── Properties │ └── AssemblyInfo.cs ├── F1Car.cs └── Methods.csproj ├── Tuples ├── Tuples.sln ├── Properties │ └── AssemblyInfo.cs └── Tuples.csproj ├── params ├── Params.sln ├── Properties │ └── AssemblyInfo.cs └── Params.csproj ├── ref-out ├── RefOut.sln ├── Sample.cs ├── Properties │ └── AssemblyInfo.cs ├── Program.cs └── RefOut.csproj ├── Indizadores ├── Indizadores.sln ├── Alphabet.cs ├── Properties │ └── AssemblyInfo.cs ├── Toy.cs ├── Indexer.cs ├── Program.cs ├── Indizadores.csproj └── Bundle.cs ├── StringFormat ├── StringFormat.sln ├── Properties │ └── AssemblyInfo.cs └── StringFormat.csproj ├── nullcoalescing ├── NullCoalescing.sln ├── Properties │ └── AssemblyInfo.cs ├── Program.cs └── NullCoalescing.csproj ├── inicializadores ├── Inicializadores.sln ├── Properties │ └── AssemblyInfo.cs ├── Program.cs └── Inicializadores.csproj └── .gitattributes /new/CanisLupus.cs: -------------------------------------------------------------------------------- 1 | namespace Zoo 2 | { 3 | public class CanisLupus : Canis 4 | { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /Attributes/Nokia3310.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /async/iOS/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /new/CanisLupusFamiliaris.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/aprende-c-sharp/master/new/CanisLupusFamiliaris.cs -------------------------------------------------------------------------------- /async/Droid/Resources/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/aprende-c-sharp/master/async/Droid/Resources/drawable/icon.png -------------------------------------------------------------------------------- /async/Droid/Resources/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/aprende-c-sharp/master/async/Droid/Resources/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /async/Droid/Resources/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/aprende-c-sharp/master/async/Droid/Resources/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /async/Droid/Resources/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/aprende-c-sharp/master/async/Droid/Resources/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /async/iOS/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Attributes/Smartphone.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Attributes 3 | { 4 | public class Smartphone 5 | { 6 | public string Carrier { get; set; } 7 | } 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /new/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /MetodosTry/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Resxs/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /espacios/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Attributes/Galaxy.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Attributes 3 | { 4 | public class Galaxy 5 | { 6 | [ValidCarrier("Vodafone,Movistar,Sprint")] 7 | public string Carrier { get; set; } 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Enums/Enums/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Operadores/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Reflexion/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /excepciones/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /CortoCircuito/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ExtensionMethods/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GenericMethods/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Usings/Usings/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Generics/FootballPlayer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Generics 3 | { 4 | public class FootballPlayer : Athlete 5 | { 6 | public string Position { get; set; } 7 | public int Goals { get; set; } 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /directives/Directivas/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Attributes/IPhone.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Attributes 3 | { 4 | public class IPhone 5 | { 6 | [ValidCarrier("Vodafone,Telcel,AT&T", MultipleCarriers = true)] 7 | public string Carrier { get; set; } 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Generics/BaseballPlayer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Generics 3 | { 4 | public class BaseballPlayer : Athlete 5 | { 6 | public string Position { get; set; } 7 | public int GamesStarted { get; set; } 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /async/iOS/Entitlements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Generics/Athlete.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Generics 3 | { 4 | public class Athlete 5 | { 6 | public string Name { get; set; } 7 | public double Height { get; set; } 8 | public double Weight { get; set; } 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Parciales/CoreiOS.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Parciales 4 | { 5 | public partial class Core 6 | { 7 | byte[] TakePhoto(string camera) 8 | { 9 | return new byte[0]; 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /Parciales/CoreAndroid.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Parciales 4 | { 5 | public partial class Core 6 | { 7 | byte[] TakePhoto(int camera, string options) 8 | { 9 | return new byte[0]; 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /Parciales/ProgramMethods.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Parciales 4 | { 5 | partial class Program 6 | { 7 | public static void Write(string line) 8 | { 9 | Console.WriteLine(line); 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /linq-en-c-sharp-2/LinqPost2/Lecture.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace LinqPost2 4 | { 5 | public class Lecture 6 | { 7 | public int Id { get; set; } 8 | 9 | public int TeacherId { get; set; } 10 | 11 | public string Name { get; set; } 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /async/Async.Movil/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Generics/Box.cs: -------------------------------------------------------------------------------- 1 | public class Box 2 | { 3 | public T Content { get; private set; } 4 | 5 | public Box(T content) 6 | { 7 | Content = content; 8 | } 9 | 10 | public override string ToString() 11 | { 12 | return string.Format("[Box: Content={0}]", Content); 13 | } 14 | } -------------------------------------------------------------------------------- /Generics/Team.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Generics 3 | { 4 | public class Team where T : Athlete 5 | { 6 | public string CoachName { get; set; } 7 | public T[] Members { get; set; } 8 | 9 | public Team(int maxMembers) 10 | { 11 | Members = new T[maxMembers]; 12 | } 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /linq-en-c-sharp-3/LinqPost3/Lecture.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace LinqPost3 4 | { 5 | public class Lecture 6 | { 7 | public int Id { get; set; } 8 | 9 | public int TeacherId { get; set; } 10 | 11 | public string Level { get; set; } 12 | 13 | public string Name { get; set; } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /Generics/BaseballTeam.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Generics 3 | { 4 | public class BaseballTeam 5 | { 6 | public string CoachName { get; set; } 7 | public BaseballPlayer[] Members { get; set; } 8 | 9 | public BaseballTeam(int maxMembers) 10 | { 11 | Members = new BaseballPlayer[maxMembers]; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Generics/FootballTeam.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Generics 3 | { 4 | public class FootballTeam 5 | { 6 | public string CoachName { get; set; } 7 | public FootballPlayer[] Members { get; set; } 8 | 9 | public FootballTeam(int maxMembers) 10 | { 11 | Members = new FootballPlayer[maxMembers]; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /async/Async.Movil/App.xaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /async/Droid/Properties/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /linq-en-c-sharp-2/LinqPost2/Teacher.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace LinqPost2 4 | { 5 | public class Teacher 6 | { 7 | public int Id { get; set; } 8 | 9 | public int Age { get; set; } 10 | 11 | public string GivenName { get; set; } 12 | 13 | public string LastName { get; set; } 14 | 15 | public string Email { get; set; } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /linq-en-c-sharp-3/LinqPost3/Teacher.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace LinqPost3 4 | { 5 | public class Teacher 6 | { 7 | public int Id { get; set; } 8 | 9 | public int Age { get; set; } 10 | 11 | public string GivenName { get; set; } 12 | 13 | public string LastName { get; set; } 14 | 15 | public string Email { get; set; } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Generics/ComplexBox.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Generics 3 | { 4 | public class ComplexBox 5 | { 6 | public Content1 C1 { get; set; } 7 | public Content2 C2 { get; set; } 8 | public T Item { get; set; } 9 | 10 | public ComplexBox(Content1 c1, Content2 c2) 11 | { 12 | C1 = c1; 13 | C2 = c2; 14 | } 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /linq-en-c-sharp-4/NameEqualityComparer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace Linq4 5 | { 6 | public class NameEqualityComparer : IEqualityComparer 7 | { 8 | public bool Equals(Persona x, Persona y) => x.Nombre.Equals(y.Nombre); 9 | 10 | public int GetHashCode(Persona obj) => obj.Nombre.GetHashCode(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Parciales/Page.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Parciales 4 | { 5 | public partial class Page 6 | { 7 | public Page() 8 | { 9 | InitializeComponent(); 10 | Console.WriteLine(Control1); 11 | Console.WriteLine(Control2); 12 | Console.WriteLine(Control3); 13 | } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /Reflexion/ValidCarrierAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Reflexion 8 | { 9 | [System.AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)] 10 | sealed class ValidCarrierAttribute : Attribute 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /GenericMethods/Athlete.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace GenericMethods 8 | { 9 | public class Athlete 10 | { 11 | public string Name { get; set; } 12 | public double Height { get; set; } 13 | public double Weight { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Generics/LimitedBox.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Generics 3 | { 4 | public class LimitedBox where T : struct 5 | { 6 | } 7 | 8 | public class LimitedBox 9 | where X0 : struct 10 | where X1 : IEquatable 11 | { 12 | } 13 | 14 | public class LimitedBox 15 | where T : struct 16 | where U : IEquatable 17 | where V : new() 18 | { 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /Parciales/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Parciales 4 | { 5 | partial class Program 6 | { 7 | public static void Main(string[] args) 8 | { 9 | Write(HelloWorldString); 10 | } 11 | } 12 | 13 | // Class constants 14 | partial class Program 15 | { 16 | private const string HelloWorldString = "Hola mundo!"; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /new/GranDanes.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Zoo 4 | { 5 | public class GranDanes : CanisLupusFamiliaris 6 | { 7 | public new void MoverOrejas() 8 | { 9 | Console.WriteLine("Mueve sus orejas gigantezcas"); 10 | } 11 | 12 | public override void Ladrar() 13 | { 14 | Console.WriteLine("WOOF! WOOF!"); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /async/Droid/Resources/layout/Toolbar.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /new/Chihuahua.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Zoo 4 | { 5 | public class Chihuahua : CanisLupusFamiliaris 6 | { 7 | public event EventHandler E; 8 | 9 | public void MoverOrejas() 10 | { 11 | Console.WriteLine("Mueve sus orejitas"); 12 | } 13 | 14 | public void Ladrar() 15 | { 16 | Console.WriteLine("guau, guau"); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Casteo/Persona.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Casteo 3 | { 4 | public class Persona 5 | { 6 | public string Nombre { get; set; } 7 | 8 | public static explicit operator Persona(string nombre) 9 | { 10 | return new Persona(); 11 | } 12 | 13 | public static implicit operator string(Persona p) 14 | { 15 | return p.Nombre; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /DebuggingTips/TestClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Diagnostics; 3 | 4 | namespace DebuggingTips 5 | { 6 | [DebuggerDisplay("Propiedad1: {Propiedad1}")] 7 | public class TestClass 8 | { 9 | public string Propiedad1 { get; set; } 10 | public int Propiedad2 { get; set; } 11 | 12 | //public override string ToString() 13 | //{ 14 | // return string.Format("{0}: {1}", nameof(Propiedad1), Propiedad1); 15 | //} 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /GenericMethods/FootballPlayer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace GenericMethods 8 | { 9 | public class FootballPlayer : Athlete 10 | { 11 | public string Position { get; set; } 12 | public int Goals { get; set; } 13 | 14 | public override string ToString() 15 | { 16 | return "Hi, I'm " + Name + " and I play football"; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /async/Droid/Resources/layout/Tabbar.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /GenericMethods/BaseballPlayer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace GenericMethods 8 | { 9 | public class BaseballPlayer :Athlete 10 | { 11 | public string Position { get; set; } 12 | public int GamesStarted { get; set; } 13 | 14 | public override string ToString() 15 | { 16 | return "Hi, I'm " + Name + " and I play baseball"; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /async/iOS/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | using Foundation; 6 | using UIKit; 7 | 8 | namespace Async.Movil.iOS 9 | { 10 | public class Application 11 | { 12 | // This is the main entry point of the application. 13 | static void Main(string[] args) 14 | { 15 | // if you want to use a different Application Delegate class from "AppDelegate" 16 | // you can specify it here. 17 | UIApplication.Main(args, null, "AppDelegate"); 18 | } 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /excepciones/Adulto.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Excepciones 3 | { 4 | public class Adulto 5 | { 6 | public Adulto() 7 | { 8 | } 9 | 10 | private int _numeroGatos; 11 | public int NumeroGatos 12 | { 13 | get { return _numeroGatos; } 14 | set 15 | { 16 | if (value > 4) 17 | throw new TienesMuchosGatosException(value); 18 | _numeroGatos = value; 19 | } 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /new/Canis.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using System.Text; 4 | using System.Threading.Tasks; 5 | 6 | namespace Zoo 7 | { 8 | /// 9 | /// Canis es un género de mamíferos placentarios de la familia Canidae, 10 | /// orden de los carnívoros, que incluye los perros, lobos, chacales, coyotes y dingos. 11 | /// 12 | public abstract class Canis 13 | { 14 | public string EstadoConservacion { get; set; } 15 | public string Especie { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /yield/NotSoRandom.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | 5 | namespace Yield 6 | { 7 | 8 | public class NotSoRandom : IEnumerable 9 | { 10 | Random r = new Random(); 11 | 12 | public IEnumerator GetEnumerator() 13 | { 14 | while (true) 15 | { 16 | Console.Write("G "); 17 | yield return r.Next(); 18 | } 19 | } 20 | 21 | IEnumerator IEnumerable.GetEnumerator() 22 | { 23 | while (true) 24 | { 25 | yield return r.Next(); 26 | } 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Parciales/Core.cs: -------------------------------------------------------------------------------- 1 | #define __ANDROID__ 2 | using System; 3 | 4 | namespace Parciales 5 | { 6 | public partial class Core 7 | { 8 | public Core() 9 | { 10 | #if __ANDROID__ 11 | int camera = 0; 12 | string options = ""; 13 | var photo = TakePhoto(camera, options); 14 | #elif __IOS__ 15 | string camera = ""; 16 | var photo = TakePhoto(camera); 17 | #endif 18 | 19 | int byteCount = photo.Length; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /linq-en-c-sharp-4/Persona.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Linq4 3 | { 4 | public class Persona 5 | { 6 | public string Nombre { get; set; } 7 | public string Apellido { get; set; } 8 | public override string ToString() { return Apellido + ", " + Nombre; } 9 | public override bool Equals(object o) 10 | { 11 | var oth = o as Persona; 12 | if (oth != null) 13 | return oth.Apellido.Equals(Apellido); 14 | return false; 15 | } 16 | 17 | public override int GetHashCode() 18 | { 19 | return Apellido.GetHashCode(); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Generics/.gitignore: -------------------------------------------------------------------------------- 1 | #Autosave files 2 | *~ 3 | 4 | #build 5 | [Oo]bj/ 6 | [Bb]in/ 7 | packages/ 8 | TestResults/ 9 | 10 | # globs 11 | Makefile.in 12 | *.DS_Store 13 | *.sln.cache 14 | *.suo 15 | *.cache 16 | *.pidb 17 | *.userprefs 18 | *.usertasks 19 | config.log 20 | config.make 21 | config.status 22 | aclocal.m4 23 | install-sh 24 | autom4te.cache/ 25 | *.user 26 | *.tar.gz 27 | tarballs/ 28 | test-results/ 29 | Thumbs.db 30 | 31 | #Mac bundle stuff 32 | *.dmg 33 | *.app 34 | 35 | #resharper 36 | *_Resharper.* 37 | *.Resharper 38 | 39 | #dotCover 40 | *.dotCover 41 | -------------------------------------------------------------------------------- /events/.gitignore: -------------------------------------------------------------------------------- 1 | #Autosave files 2 | *~ 3 | 4 | #build 5 | [Oo]bj/ 6 | [Bb]in/ 7 | packages/ 8 | TestResults/ 9 | 10 | # globs 11 | Makefile.in 12 | *.DS_Store 13 | *.sln.cache 14 | *.suo 15 | *.cache 16 | *.pidb 17 | *.userprefs 18 | *.usertasks 19 | config.log 20 | config.make 21 | config.status 22 | aclocal.m4 23 | install-sh 24 | autom4te.cache/ 25 | *.user 26 | *.tar.gz 27 | tarballs/ 28 | test-results/ 29 | Thumbs.db 30 | 31 | #Mac bundle stuff 32 | *.dmg 33 | *.app 34 | 35 | #resharper 36 | *_Resharper.* 37 | *.Resharper 38 | 39 | #dotCover 40 | *.dotCover 41 | -------------------------------------------------------------------------------- /async/Async.Movil/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Xamarin.Forms; 2 | 3 | namespace Async.Movil 4 | { 5 | public partial class App : Application 6 | { 7 | public App() 8 | { 9 | InitializeComponent(); 10 | 11 | MainPage = new MainPage(); 12 | } 13 | 14 | protected override void OnStart() 15 | { 16 | // Handle when your app starts 17 | } 18 | 19 | protected override void OnSleep() 20 | { 21 | // Handle when your app sleeps 22 | } 23 | 24 | protected override void OnResume() 25 | { 26 | // Handle when your app resumes 27 | } 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /async/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | using Foundation; 6 | using UIKit; 7 | 8 | namespace Async.Movil.iOS 9 | { 10 | [Register("AppDelegate")] 11 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate 12 | { 13 | public override bool FinishedLaunching(UIApplication app, NSDictionary options) 14 | { 15 | global::Xamarin.Forms.Forms.Init(); 16 | 17 | LoadApplication(new App()); 18 | 19 | return base.FinishedLaunching(app, options); 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /DebuggingTips/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace DebuggingTips 4 | { 5 | class MainClass 6 | { 7 | public static void Main(string[] args) 8 | { 9 | #if DEBUG 10 | Console.WriteLine("Solo visible en modo debug, directiva: DEBUG"); 11 | #endif 12 | 13 | var tc = new TestClass() { Propiedad1 = "Uno" }; 14 | Console.WriteLine(tc + " // Console.WriteLine "); 15 | System.Diagnostics.Debug.WriteLine(tc + " // Debug.WriteLine "); 16 | System.Diagnostics.Debug.WriteLineIf(tc.Propiedad1.Equals("Dos"), tc); 17 | 18 | Console.WriteLine("Hello World!"); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /GenericMethods/Team.cs: -------------------------------------------------------------------------------- 1 | 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace GenericMethods 9 | { 10 | public class Team where T : Athlete 11 | { 12 | public int MaxPlayersOnField { get; private set; } 13 | public string CoachName { get; set; } 14 | public T[] Members { get; set; } 15 | 16 | public Team(int maxMembers, int maxPlayersOnField) 17 | { 18 | Members = new T[maxMembers]; 19 | MaxPlayersOnField = maxPlayersOnField; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Attributes/Nokia3310.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.ComponentModel.DataAnnotations; 3 | using System.Runtime.CompilerServices; 4 | 5 | namespace Attributes 6 | { 7 | [ObsoleteAttribute("Esta clase es obsoleta, prueba con iPhone 6 o Galaxy S6")] 8 | public class Nokia3310 9 | { 10 | [RangeAttribute(0.0,9990.99, ErrorMessage = "Wrong balance, must be between {1} and {2}")] 11 | public double Balance { get; set; } 12 | 13 | [Obsolete] 14 | public void Call(string number, [CallerMemberName]string whoIsCalling = null) 15 | { 16 | Console.WriteLine(whoIsCalling + " is calling " + number); 17 | } 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /Methods/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Methods 4 | { 5 | class MainClass 6 | { 7 | public static void Main(string[] args) 8 | { 9 | var car = F1Car.GetDefaultCar(); 10 | 11 | var schumacher = new Driver("Michael Schumacher" ); 12 | car.ChangeDriver(schumacher); 13 | 14 | // car.StartEngine(); 15 | var started = car.TryStartEngine(); 16 | 17 | var toroRossoCar = new F1Car("Toro Rosso"); 18 | var verstappen = new Driver("Max Emilian Verstappen"); 19 | verstappen.SetCar(toroRossoCar); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Reflexion/Smartphone.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace Reflexion 9 | { 10 | public class Smartphone 11 | { 12 | [Required] 13 | [ValidCarrier] 14 | [Display(Name ="Compañía")] 15 | public string Carrier { get; set; } 16 | 17 | [Display(Name = "Bloqueado")] 18 | public bool IsLocked { get; set; } 19 | 20 | [Display(Name = "Numero de contactos")] 21 | public int ContactCount { get; set; } 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Parciales/Page.Designer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Parciales 4 | { 5 | // This code was generated by a tool, 6 | // any changes made to this file will be discarded 7 | 8 | // Este código fue generado por una herramienta, 9 | // cualquier cambio hecho a este archivo será descartado 10 | public partial class Page 11 | { 12 | object Control1; 13 | object Control2; 14 | object Control3; 15 | 16 | void InitializeComponent() 17 | { 18 | Control1 = new object(); 19 | Control2 = new object(); 20 | Control3 = new object(); 21 | } 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /Usings/Usings/NoDesechable.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Usings 8 | { 9 | public class NoDesechable 10 | { 11 | public NoDesechable() 12 | { 13 | Console.WriteLine("Hello, NoDesechable."); 14 | } 15 | 16 | public void DoSomethingWithException() 17 | { 18 | throw new NotImplementedException(); 19 | } 20 | 21 | public void DoSomething() 22 | { 23 | Console.WriteLine("NoDesechable is doing something"); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /async/Droid/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /async/Droid/Assets/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories) and given a Build Action of "AndroidAsset". 3 | 4 | These files will be deployed with your package and will be accessible using Android's 5 | AssetManager, like this: 6 | 7 | public class ReadAsset : Activity 8 | { 9 | protected override void OnCreate (Bundle bundle) 10 | { 11 | base.OnCreate (bundle); 12 | 13 | InputStream input = Assets.Open ("my_asset.txt"); 14 | } 15 | } 16 | 17 | Additionally, some Android functions will automatically load asset files: 18 | 19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf"); 20 | -------------------------------------------------------------------------------- /ExtensionMethods/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using Extensiones; 4 | 5 | namespace ExtensionMethods 6 | { 7 | class Program 8 | { 9 | static void Main(string[] args) 10 | { 11 | var secuencia = new int[] { 1, 2, 3, 4, 5, 6 }; 12 | var resultado = Enumerable.Take(Enumerable.Where(secuencia, i => i % 2 == 0), 1); 13 | // var resultado = secuencia.Where(i => i % 2 == 0).Take(1); 14 | 15 | Console.WriteLine("Console.WriteLine();".Mountain()); 16 | Console.WriteLine(StringExtensions.Mountain("Console.WriteLine();")); 17 | 18 | string n = null; 19 | Console.WriteLine("null = " + n.Mountain()); 20 | Console.Read(); 21 | 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Usings/Usings/Desechable.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Usings 8 | { 9 | public class Desechable : IDisposable 10 | { 11 | public Desechable() 12 | { 13 | Console.WriteLine("Hello, Desechable."); 14 | } 15 | 16 | public void DoSomething() 17 | { 18 | Console.WriteLine("Desechable is doing something"); 19 | } 20 | 21 | public void DoSomethingWithException() 22 | { 23 | throw new NotImplementedException(); 24 | } 25 | 26 | public void Dispose() 27 | { 28 | Console.WriteLine("Bye bye, Desechable."); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /yield/Yield.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Yield", "Yield.csproj", "{EE398854-5258-41B0-9995-2DCEE5DB5BEF}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {EE398854-5258-41B0-9995-2DCEE5DB5BEF}.Debug|x86.ActiveCfg = Debug|x86 13 | {EE398854-5258-41B0-9995-2DCEE5DB5BEF}.Debug|x86.Build.0 = Debug|x86 14 | {EE398854-5258-41B0-9995-2DCEE5DB5BEF}.Release|x86.ActiveCfg = Release|x86 15 | {EE398854-5258-41B0-9995-2DCEE5DB5BEF}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /Casteo/Casteo.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Casteo", "Casteo.csproj", "{DEAC3E73-2341-4847-9989-D0F8E78D18EE}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {DEAC3E73-2341-4847-9989-D0F8E78D18EE}.Debug|x86.ActiveCfg = Debug|x86 13 | {DEAC3E73-2341-4847-9989-D0F8E78D18EE}.Debug|x86.Build.0 = Debug|x86 14 | {DEAC3E73-2341-4847-9989-D0F8E78D18EE}.Release|x86.ActiveCfg = Release|x86 15 | {DEAC3E73-2341-4847-9989-D0F8E78D18EE}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /Generics/Generics.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generics", "Generics.csproj", "{C5B3A1FF-297D-488E-94B2-73DD5916461C}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {C5B3A1FF-297D-488E-94B2-73DD5916461C}.Debug|x86.ActiveCfg = Debug|x86 13 | {C5B3A1FF-297D-488E-94B2-73DD5916461C}.Debug|x86.Build.0 = Debug|x86 14 | {C5B3A1FF-297D-488E-94B2-73DD5916461C}.Release|x86.ActiveCfg = Release|x86 15 | {C5B3A1FF-297D-488E-94B2-73DD5916461C}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /events/Events.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Events", "events\events.csproj", "{9A5746DB-8D9E-4926-87B6-6063D7CC5F9A}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {9A5746DB-8D9E-4926-87B6-6063D7CC5F9A}.Debug|x86.ActiveCfg = Debug|x86 13 | {9A5746DB-8D9E-4926-87B6-6063D7CC5F9A}.Debug|x86.Build.0 = Debug|x86 14 | {9A5746DB-8D9E-4926-87B6-6063D7CC5F9A}.Release|x86.ActiveCfg = Release|x86 15 | {9A5746DB-8D9E-4926-87B6-6063D7CC5F9A}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /linq-en-c-sharp-4/Linq4.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Linq4", "Linq4.csproj", "{659C75E5-204A-4D63-8F4B-CFD3F74EDE50}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {659C75E5-204A-4D63-8F4B-CFD3F74EDE50}.Debug|x86.ActiveCfg = Debug|x86 13 | {659C75E5-204A-4D63-8F4B-CFD3F74EDE50}.Debug|x86.Build.0 = Debug|x86 14 | {659C75E5-204A-4D63-8F4B-CFD3F74EDE50}.Release|x86.ActiveCfg = Release|x86 15 | {659C75E5-204A-4D63-8F4B-CFD3F74EDE50}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /Parciales/Parciales.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Parciales", "Parciales.csproj", "{5D359AD0-0F0A-46DE-AB2B-9C088973B4C2}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {5D359AD0-0F0A-46DE-AB2B-9C088973B4C2}.Debug|x86.ActiveCfg = Debug|x86 13 | {5D359AD0-0F0A-46DE-AB2B-9C088973B4C2}.Debug|x86.Build.0 = Debug|x86 14 | {5D359AD0-0F0A-46DE-AB2B-9C088973B4C2}.Release|x86.ActiveCfg = Release|x86 15 | {5D359AD0-0F0A-46DE-AB2B-9C088973B4C2}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /Attributes/Attributes.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Attributes", "Attributes.csproj", "{A4E48A8A-EC85-4C13-A2EE-AC68A14CD305}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {A4E48A8A-EC85-4C13-A2EE-AC68A14CD305}.Debug|x86.ActiveCfg = Debug|x86 13 | {A4E48A8A-EC85-4C13-A2EE-AC68A14CD305}.Debug|x86.Build.0 = Debug|x86 14 | {A4E48A8A-EC85-4C13-A2EE-AC68A14CD305}.Release|x86.ActiveCfg = Release|x86 15 | {A4E48A8A-EC85-4C13-A2EE-AC68A14CD305}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /Tuples/Tuples.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tuples", "Tuples.csproj", "{A78DB183-84AE-45D8-B3F6-C99EA3D9D954}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {A78DB183-84AE-45D8-B3F6-C99EA3D9D954}.Debug|x86.ActiveCfg = Debug|x86 13 | {A78DB183-84AE-45D8-B3F6-C99EA3D9D954}.Debug|x86.Build.0 = Debug|x86 14 | {A78DB183-84AE-45D8-B3F6-C99EA3D9D954}.Release|x86.ActiveCfg = Release|x86 15 | {A78DB183-84AE-45D8-B3F6-C99EA3D9D954}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /params/Params.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Params", "Params.csproj", "{7E6996EC-50D4-4EE4-B019-A593619AF613}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {7E6996EC-50D4-4EE4-B019-A593619AF613}.Debug|x86.ActiveCfg = Debug|x86 13 | {7E6996EC-50D4-4EE4-B019-A593619AF613}.Debug|x86.Build.0 = Debug|x86 14 | {7E6996EC-50D4-4EE4-B019-A593619AF613}.Release|x86.ActiveCfg = Release|x86 15 | {7E6996EC-50D4-4EE4-B019-A593619AF613}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /ref-out/RefOut.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RefOut", "RefOut.csproj", "{829D40DC-65E6-40AE-A052-95DF90D79E39}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {829D40DC-65E6-40AE-A052-95DF90D79E39}.Debug|x86.ActiveCfg = Debug|x86 13 | {829D40DC-65E6-40AE-A052-95DF90D79E39}.Debug|x86.Build.0 = Debug|x86 14 | {829D40DC-65E6-40AE-A052-95DF90D79E39}.Release|x86.ActiveCfg = Release|x86 15 | {829D40DC-65E6-40AE-A052-95DF90D79E39}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /Indizadores/Indizadores.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Indizadores", "Indizadores.csproj", "{DD57398A-11D3-4BD7-B238-1082305A7A07}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {DD57398A-11D3-4BD7-B238-1082305A7A07}.Debug|x86.ActiveCfg = Debug|x86 13 | {DD57398A-11D3-4BD7-B238-1082305A7A07}.Debug|x86.Build.0 = Debug|x86 14 | {DD57398A-11D3-4BD7-B238-1082305A7A07}.Release|x86.ActiveCfg = Release|x86 15 | {DD57398A-11D3-4BD7-B238-1082305A7A07}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /Methods/Methods.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Methods", "Methods.csproj", "{4B33CEB0-2B40-461A-BDBE-C993A990752C}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {4B33CEB0-2B40-461A-BDBE-C993A990752C}.Debug|x86.ActiveCfg = Debug|x86 13 | {4B33CEB0-2B40-461A-BDBE-C993A990752C}.Debug|x86.Build.0 = Debug|x86 14 | {4B33CEB0-2B40-461A-BDBE-C993A990752C}.Release|x86.ActiveCfg = Release|x86 15 | {4B33CEB0-2B40-461A-BDBE-C993A990752C}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /StringFormat/StringFormat.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StringFormat", "StringFormat.csproj", "{58D89B2C-2AEB-44A4-A8F1-E7F45A9BE578}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {58D89B2C-2AEB-44A4-A8F1-E7F45A9BE578}.Debug|x86.ActiveCfg = Debug|x86 13 | {58D89B2C-2AEB-44A4-A8F1-E7F45A9BE578}.Debug|x86.Build.0 = Debug|x86 14 | {58D89B2C-2AEB-44A4-A8F1-E7F45A9BE578}.Release|x86.ActiveCfg = Release|x86 15 | {58D89B2C-2AEB-44A4-A8F1-E7F45A9BE578}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /ref-out/Sample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace RefOut 4 | { 5 | public class Parametros 6 | { 7 | public void Swap(ref int a, ref int b) 8 | { 9 | int m = a; 10 | a = b; 11 | b = m; 12 | } 13 | 14 | public bool SumaMaxima(int a, int b, int max, out int resultado) 15 | { 16 | resultado = a + b; 17 | if (resultado >= max) 18 | { 19 | resultado = max; 20 | return true; 21 | } 22 | return false; 23 | } 24 | 25 | public string WeirdMethod(ref int a, ref int b, out int s, out int r) 26 | { 27 | s = a + b; 28 | r = a - b; 29 | return a.ToString() + " " + b.ToString(); 30 | } 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /DebuggingTips/DebuggingTips.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DebuggingTips", "DebuggingTips.csproj", "{074BAB34-C720-4213-8894-D491825823B5}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {074BAB34-C720-4213-8894-D491825823B5}.Debug|x86.ActiveCfg = Debug|x86 13 | {074BAB34-C720-4213-8894-D491825823B5}.Debug|x86.Build.0 = Debug|x86 14 | {074BAB34-C720-4213-8894-D491825823B5}.Release|x86.ActiveCfg = Release|x86 15 | {074BAB34-C720-4213-8894-D491825823B5}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /nullcoalescing/NullCoalescing.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NullCoalescing", "NullCoalescing.csproj", "{2A57CFD2-3472-45E5-ACCE-6F5F3DDCDA84}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {2A57CFD2-3472-45E5-ACCE-6F5F3DDCDA84}.Debug|x86.ActiveCfg = Debug|x86 13 | {2A57CFD2-3472-45E5-ACCE-6F5F3DDCDA84}.Debug|x86.Build.0 = Debug|x86 14 | {2A57CFD2-3472-45E5-ACCE-6F5F3DDCDA84}.Release|x86.ActiveCfg = Release|x86 15 | {2A57CFD2-3472-45E5-ACCE-6F5F3DDCDA84}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /new/Zoo.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zoo", "Zoo.csproj", "{11073888-B133-4586-A87B-A2AEBF61D905}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Any CPU = Debug|Any CPU 9 | Release|Any CPU = Release|Any CPU 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {11073888-B133-4586-A87B-A2AEBF61D905}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 13 | {11073888-B133-4586-A87B-A2AEBF61D905}.Debug|Any CPU.Build.0 = Debug|Any CPU 14 | {11073888-B133-4586-A87B-A2AEBF61D905}.Release|Any CPU.ActiveCfg = Release|Any CPU 15 | {11073888-B133-4586-A87B-A2AEBF61D905}.Release|Any CPU.Build.0 = Release|Any CPU 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /linq-en-c-sharp-2/LinqPost2.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LinqPost2", "LinqPost2\LinqPost2.csproj", "{2BEBFE6C-CDC5-481B-9DCE-5F6CFCA46991}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {2BEBFE6C-CDC5-481B-9DCE-5F6CFCA46991}.Debug|x86.ActiveCfg = Debug|x86 13 | {2BEBFE6C-CDC5-481B-9DCE-5F6CFCA46991}.Debug|x86.Build.0 = Debug|x86 14 | {2BEBFE6C-CDC5-481B-9DCE-5F6CFCA46991}.Release|x86.ActiveCfg = Release|x86 15 | {2BEBFE6C-CDC5-481B-9DCE-5F6CFCA46991}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /linq-en-c-sharp-3/LinqPost3.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2012 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LinqPost3", "LinqPost3\LinqPost3.csproj", "{2BEBFE6C-CDC5-481B-9DCE-5F6CFCA46991}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {2BEBFE6C-CDC5-481B-9DCE-5F6CFCA46991}.Debug|x86.ActiveCfg = Debug|x86 13 | {2BEBFE6C-CDC5-481B-9DCE-5F6CFCA46991}.Debug|x86.Build.0 = Debug|x86 14 | {2BEBFE6C-CDC5-481B-9DCE-5F6CFCA46991}.Release|x86.ActiveCfg = Release|x86 15 | {2BEBFE6C-CDC5-481B-9DCE-5F6CFCA46991}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /Methods/Driver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Methods 4 | { 5 | public class Driver 6 | { 7 | public Driver(string name) 8 | { 9 | Name = name; 10 | } 11 | 12 | public string Name { get; private set; } 13 | 14 | public string DrivesFor { get; set; } 15 | 16 | public void SetCar(F1Car car) 17 | { 18 | DrivesFor = car.Team; 19 | car.ChangeDriver(this); 20 | } 21 | 22 | public override bool Equals(object obj) 23 | { 24 | var p = obj as Driver; 25 | if (p != null) 26 | { 27 | return Name.Equals(p.Name); 28 | } 29 | return false; 30 | } 31 | 32 | public override int GetHashCode() 33 | { 34 | return Name.GetHashCode(); 35 | } 36 | } 37 | 38 | } 39 | 40 | -------------------------------------------------------------------------------- /async/Droid/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using Android.App; 4 | using Android.Content; 5 | using Android.Content.PM; 6 | using Android.Runtime; 7 | using Android.Views; 8 | using Android.Widget; 9 | using Android.OS; 10 | 11 | namespace Async.Movil.Droid 12 | { 13 | [Activity(Label = "Async.Movil.Droid", Icon = "@drawable/icon", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] 14 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity 15 | { 16 | protected override void OnCreate(Bundle bundle) 17 | { 18 | TabLayoutResource = Resource.Layout.Tabbar; 19 | ToolbarResource = Resource.Layout.Toolbar; 20 | 21 | base.OnCreate(bundle); 22 | 23 | global::Xamarin.Forms.Forms.Init(this, bundle); 24 | 25 | LoadApplication(new App()); 26 | } 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /Usings/Usings/Homer.txt: -------------------------------------------------------------------------------- 1 | ,---. 2 | ,.'-. \ 3 | ( ( ,'"""""-. 4 | `,X `. 5 | /` ` `._ 6 | ( , ,_\ 7 | | ,---.,'o `. 8 | | / o \ ) 9 | \ ,. ( .____, 10 | \| \ \____,' \ 11 | '`'\ \ _,____,' 12 | \ ,-- ,-' \ 13 | ( C ,' \ 14 | `--' .' | 15 | | | .O | 16 | __| \ ,-'_ 17 | / `L `._ _,' ' `. 18 | / `--.._ `',. _\ ` 19 | `-. /\ | `. ( ,\ \ 20 | _/ `-._ / \ |--' ( \ 21 | ' `-. `' \/\`. `. ) 22 | \ -hrr- \ `. | | 23 | From: http://chris.com/ascii/index.php?art=cartoons/simpsons -------------------------------------------------------------------------------- /Indizadores/Alphabet.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace Indizadores 5 | { 6 | public class Alphabet 7 | { 8 | 9 | public static Alphabet Cryllic = new Alphabet( 10 | 'А', 'Б', 'В', 'Г', 'Д', 'Е', 'Ё', 'Ж', 'З', 'І', 'Й', 11 | 'К', 'Л', 'М', 'Н', 'О', 'П', 'Р', 'С', 'Т', 'У', 'Ў', 12 | 'Ф', 'Х', 'Ц', 'Ч', 'Ш', 'Ы', 'Ь', 'Э', 'Ю', 'Я'); 13 | 14 | public static Alphabet Greek = new Alphabet( 15 | 'Α', 'Β', 'Γ', 'Δ', 'Ε', 'Ζ', 'Η', 'Θ', 'Ι', 'Κ', 'Λ', 16 | 'Μ', 'Ν', 'Ξ', 'Ο', 'Π', 'Ρ', 'Σ', 'Τ', 'Υ', 'Φ', 'Χ', 17 | 'Ψ', 'Ω'); 18 | 19 | List caracteres; 20 | private Alphabet(params char[] caracteres) 21 | { 22 | this.caracteres = new List(caracteres); 23 | } 24 | 25 | public char CharacterAt(int i) 26 | { 27 | return caracteres[i]; 28 | } 29 | 30 | public char this[int i] 31 | { 32 | get { return caracteres[i]; } 33 | } 34 | 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Resxs/Resxs.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Resxs", "Resxs.csproj", "{D4F95258-6C59-4F09-AB6D-96D44FD9AB2C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {D4F95258-6C59-4F09-AB6D-96D44FD9AB2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {D4F95258-6C59-4F09-AB6D-96D44FD9AB2C}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {D4F95258-6C59-4F09-AB6D-96D44FD9AB2C}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {D4F95258-6C59-4F09-AB6D-96D44FD9AB2C}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /Enums/Enums.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Enums", "Enums\Enums.csproj", "{00084C38-EC5B-4B82-91A3-4E8A4C7C108A}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {00084C38-EC5B-4B82-91A3-4E8A4C7C108A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {00084C38-EC5B-4B82-91A3-4E8A4C7C108A}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {00084C38-EC5B-4B82-91A3-4E8A4C7C108A}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {00084C38-EC5B-4B82-91A3-4E8A4C7C108A}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /Usings/Usings.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Usings", "Usings\Usings.csproj", "{354A18C2-A61B-4FCA-A3A1-B056DC3BEBBE}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {354A18C2-A61B-4FCA-A3A1-B056DC3BEBBE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {354A18C2-A61B-4FCA-A3A1-B056DC3BEBBE}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {354A18C2-A61B-4FCA-A3A1-B056DC3BEBBE}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {354A18C2-A61B-4FCA-A3A1-B056DC3BEBBE}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /Reflexion/reflexion.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Reflexion", "Reflexion.csproj", "{678DDB7F-3B71-4733-8505-899B828E87CD}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {678DDB7F-3B71-4733-8505-899B828E87CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {678DDB7F-3B71-4733-8505-899B828E87CD}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {678DDB7F-3B71-4733-8505-899B828E87CD}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {678DDB7F-3B71-4733-8505-899B828E87CD}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /MetodosTry/MetodosTry.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MetodosTry", "MetodosTry.csproj", "{19E871DA-090E-4826-AC6C-1CC214469F8B}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {19E871DA-090E-4826-AC6C-1CC214469F8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {19E871DA-090E-4826-AC6C-1CC214469F8B}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {19E871DA-090E-4826-AC6C-1CC214469F8B}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {19E871DA-090E-4826-AC6C-1CC214469F8B}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /Operadores/Operadores.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Operadores", "Operadores.csproj", "{7E20C786-A1E2-4BF1-94B4-7A5706EC257A}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {7E20C786-A1E2-4BF1-94B4-7A5706EC257A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {7E20C786-A1E2-4BF1-94B4-7A5706EC257A}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {7E20C786-A1E2-4BF1-94B4-7A5706EC257A}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {7E20C786-A1E2-4BF1-94B4-7A5706EC257A}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /excepciones/Excepciones.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26430.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excepciones", "Excepciones.csproj", "{2546DCE4-FEE0-4542-AE8A-A75D4ECCFD5F}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {2546DCE4-FEE0-4542-AE8A-A75D4ECCFD5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {2546DCE4-FEE0-4542-AE8A-A75D4ECCFD5F}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {2546DCE4-FEE0-4542-AE8A-A75D4ECCFD5F}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {2546DCE4-FEE0-4542-AE8A-A75D4ECCFD5F}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /directives/Directivas.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.23107.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Directivas", "Directivas\Directivas.csproj", "{1BE7F858-6406-46FD-BF8A-A4F464851763}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {1BE7F858-6406-46FD-BF8A-A4F464851763}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {1BE7F858-6406-46FD-BF8A-A4F464851763}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {1BE7F858-6406-46FD-BF8A-A4F464851763}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {1BE7F858-6406-46FD-BF8A-A4F464851763}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /CortoCircuito/Cortocircuito.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26403.7 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cortocircuito", "Cortocircuito.csproj", "{986A82BE-121F-40B5-8088-CFA63B8979BD}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {986A82BE-121F-40B5-8088-CFA63B8979BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {986A82BE-121F-40B5-8088-CFA63B8979BD}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {986A82BE-121F-40B5-8088-CFA63B8979BD}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {986A82BE-121F-40B5-8088-CFA63B8979BD}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /GenericMethods/GenericMethods.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.24720.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenericMethods", "GenericMethods.csproj", "{79A3B89C-BAAF-4A23-87C1-8AE6178BB5E5}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {79A3B89C-BAAF-4A23-87C1-8AE6178BB5E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {79A3B89C-BAAF-4A23-87C1-8AE6178BB5E5}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {79A3B89C-BAAF-4A23-87C1-8AE6178BB5E5}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {79A3B89C-BAAF-4A23-87C1-8AE6178BB5E5}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /Casteo/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Casteo 4 | { 5 | class MainClass 6 | { 7 | public static void Main(string[] args) 8 | { 9 | Persona p1 = new Persona { Nombre = "Antonio" }; 10 | Persona p2 = (Persona)"Antonio"; 11 | string nombreP2 = p2; 12 | 13 | var metro1 = new Metro(5); 14 | var yarda1 = new Yarda(5); 15 | 16 | Console.WriteLine(metro1); 17 | Console.WriteLine(yarda1); 18 | 19 | 20 | Metro metro2 = 10; 21 | Yarda yarda2 = 10; 22 | 23 | Console.WriteLine(metro2); 24 | Console.WriteLine(yarda2); 25 | 26 | Yarda yarda3 = (Yarda)metro2; 27 | Metro metro3 = (Metro)yarda2; 28 | 29 | Console.WriteLine(metro3); 30 | Console.WriteLine(yarda3); 31 | 32 | Metro metro4 = (Metro)yarda3; 33 | Yarda yarda4 = (Yarda)metro3; 34 | 35 | Console.WriteLine(metro4); 36 | Console.WriteLine(yarda4); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /ExtensionMethods/ExtensionMethods.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExtensionMethods", "ExtensionMethods.csproj", "{B69F5FC0-372E-4A36-A4B2-51010C0A1DBB}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {B69F5FC0-372E-4A36-A4B2-51010C0A1DBB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {B69F5FC0-372E-4A36-A4B2-51010C0A1DBB}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {B69F5FC0-372E-4A36-A4B2-51010C0A1DBB}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {B69F5FC0-372E-4A36-A4B2-51010C0A1DBB}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /inicializadores/Inicializadores.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.40629.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Inicializadores", "Inicializadores.csproj", "{6A895EA0-4036-48C3-92D2-8843A9A2B467}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {6A895EA0-4036-48C3-92D2-8843A9A2B467}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {6A895EA0-4036-48C3-92D2-8843A9A2B467}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {6A895EA0-4036-48C3-92D2-8843A9A2B467}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {6A895EA0-4036-48C3-92D2-8843A9A2B467}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /Casteo/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("Casteo")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | -------------------------------------------------------------------------------- /yield/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("Yield")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | -------------------------------------------------------------------------------- /Methods/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("Methods")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /Tuples/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("Tuples")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /params/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("Params")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /ref-out/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("RefOut")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /Generics/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("Generics")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /Indizadores/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("Indizadores")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | -------------------------------------------------------------------------------- /Parciales/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("Parciales")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /StringFormat/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("StringFormat")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | -------------------------------------------------------------------------------- /events/events/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("events")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /linq-en-c-sharp-4/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("Linq4")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | -------------------------------------------------------------------------------- /Attributes/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("Attributes")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /DebuggingTips/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("DebuggingTips")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | -------------------------------------------------------------------------------- /async/Async.Movil/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("Async.Movil")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /nullcoalescing/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle("NullCoalescing")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("")] 12 | [assembly: AssemblyCopyright("fferegrino")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /linq-en-c-sharp-2/LinqPost2/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle ("LinqPost2")] 8 | [assembly: AssemblyDescription ("")] 9 | [assembly: AssemblyConfiguration ("")] 10 | [assembly: AssemblyCompany ("")] 11 | [assembly: AssemblyProduct ("")] 12 | [assembly: AssemblyCopyright ("fferegrino")] 13 | [assembly: AssemblyTrademark ("")] 14 | [assembly: AssemblyCulture ("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion ("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /linq-en-c-sharp-3/LinqPost3/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // Information about this assembly is defined by the following attributes. 5 | // Change them to the values specific to your project. 6 | 7 | [assembly: AssemblyTitle ("LinqPost2")] 8 | [assembly: AssemblyDescription ("")] 9 | [assembly: AssemblyConfiguration ("")] 10 | [assembly: AssemblyCompany ("")] 11 | [assembly: AssemblyProduct ("")] 12 | [assembly: AssemblyCopyright ("fferegrino")] 13 | [assembly: AssemblyTrademark ("")] 14 | [assembly: AssemblyCulture ("")] 15 | 16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 | 20 | [assembly: AssemblyVersion ("1.0.*")] 21 | 22 | // The following attributes are used to specify the signing key for the assembly, 23 | // if desired. See the Mono documentation for more information about signing. 24 | 25 | //[assembly: AssemblyDelaySign(false)] 26 | //[assembly: AssemblyKeyFile("")] 27 | 28 | -------------------------------------------------------------------------------- /async/Droid/Resources/Resource.designer.cs: -------------------------------------------------------------------------------- 1 | namespace Async.Movil.Droid 2 | { 3 | 4 | 5 | public partial class Resource 6 | { 7 | 8 | public partial class Attribute 9 | { 10 | 11 | private Attribute() 12 | { 13 | } 14 | } 15 | 16 | public partial class Drawable 17 | { 18 | 19 | // aapt resource value: 0x7f020000 20 | public const int icon = 2130837504; 21 | 22 | private Drawable() 23 | { 24 | } 25 | } 26 | 27 | public partial class Layout 28 | { 29 | 30 | // aapt resource value: 0x7f030000 31 | public const int Main = 2130903040; 32 | 33 | private Layout() 34 | { 35 | } 36 | } 37 | 38 | public partial class String 39 | { 40 | 41 | // aapt resource value: 0x7f040000 42 | public const int hello = 2130968576; 43 | 44 | // aapt resource value: 0x7f040001 45 | public const int app_name = 2130968577; 46 | 47 | private String() 48 | { 49 | } 50 | } 51 | 52 | public partial class Id 53 | { 54 | 55 | // aapt resource value: 0x7f050000 56 | public const int myButton = 2131034112; 57 | 58 | private Id() 59 | { 60 | } 61 | } 62 | } 63 | } 64 | 65 | -------------------------------------------------------------------------------- /async/Droid/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using Android.App; 4 | 5 | // Information about this assembly is defined by the following attributes. 6 | // Change them to the values specific to your project. 7 | 8 | [assembly: AssemblyTitle("Async.Movil.Droid")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("")] 13 | [assembly: AssemblyCopyright("fferegrino")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". 18 | // The form "{Major}.{Minor}.*" will automatically update the build and revision, 19 | // and "{Major}.{Minor}.{Build}.*" will update just the revision. 20 | 21 | [assembly: AssemblyVersion("1.0.0")] 22 | 23 | // The following attributes are used to specify the signing key for the assembly, 24 | // if desired. See the Mono documentation for more information about signing. 25 | 26 | //[assembly: AssemblyDelaySign(false)] 27 | //[assembly: AssemblyKeyFile("")] 28 | 29 | -------------------------------------------------------------------------------- /async/Async.Movil/MainPage.xaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |