Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- model.Phonecalls.where(a=> !model.employees.any( o=> o.telephoneNumber.Equals(a.sourceNumber));
- var aux = aux.select(c=> new { c.seconds, model.employees.first(e=> e.telephonenumber.equals(c.sourcenumber)))})
- -----------
- private FilteredList<int> listInt;
- private Func<int, int> porDos = new Func<int, int>(n => n * 2);
- private Func<int, int> porDosCientos = new Func<int, int>(n => n * 200);
- private Func<int, int>[] listaInts = new Func<int, int>[2];
- -----------------------------------
- 1.override / enum (1)
- 2.program (ref y out, leer de la pantalla) (2)
- 3.equals int? nullable stack
- 4.linkedlist enumerator / swap y max / deberes tests
- 5.delegate / action void predicate bool function lo que sea / (2) todos los metodos
- 6.test jartos
- 7. miguel, closures, yield, currying (mejor 2)
- -----------------------------------------
- static int Addition(int a, int b) {
- return a + b;
- }
- //pones func en el return
- //copias el tipo del otro parametro
- //coges el otro parametro y lo pones a la izq de =>
- //cuando las funciones solo reciben un parametro
- static Func<int,int> Addition(int a)
- {
- return b=> a + b;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement