DEV415. You are in a dark room with no signs of life. You still have your torch and $356. You can go North (N) or South (S). Your choice? _.

Slides:



Advertisements
Similar presentations
@ScotHillier Web Parts Workflows Pages Libraries App Parts SharePoint-Hosted Apps Provider-Hosted Apps.
Advertisements

TechReady 16 4/1/2017 Async Clinic
For(int i = 1; i
10 dingen die je niet wist over C#. ALM ALM Ranger Microsoft Auteur Getrouwd Lezen C#
CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics C# Language &.NET Platform 12 th -13 th Lecture Pavel Ježek.
DEV324 C# VB 7.0 Managed Code C# VB 8.0 Generics C# VB 9.0 Language Integrated Query C# VB 10.0 Dynamic + Language Parity.
Exception Handling – illustrated by Java mMIC-SFT November 2003 Anders P. Ravn Aalborg University.
Pointers Example Use int main() { int *x; int y; int z; y = 10; x = &y; y = 11; *x = 12; z = 15; x = &z; *x = 5; z = 8; printf(“%d %d %d\n”, *x, y, z);
/t/ / I d/ /d/ Try Again Go on /t/ / I d/ /d/
Recognizes: Magic Memo, show me memo number three. Magic Memo, show memo one. Magic Memo, display memo number two. Magic Memo, display memo.
Managed Code Generics Language Integrated Query Dynamic + Language Parity C# VB 11.0 Windows Runtime + Asynchrony C# VB 7.0 C# VB.
1.3B MULTIPLYING AND DIVIDING INTEGERS I can multiply and divide integers to solve problems involving integers.
Introduction to Computer Programming Error Handling.
Extension Methods Programming in C# Extension Methods CSE Prof. Roger Crawfis.
PeerFinder.Role = PeerRole.Client; PeerFinder.Role = PeerRole.Host;
HeuristicLab. Motivation  less memory pressure no DOM single pass linear process  less developer effort no interfaces to implement  modularity & flexibility.
Advanced C#, part IV Niels Hallenberg IT University of Copenhagen (With thanks to Peter Sestoft and Kasper Østerbye) BAAAP – Spring 2009.
please wait for the next slide clicking won’t make it come any faster.
Consuming REST Services from C# SoftUni Team Technical Trainers Software University
E FFECTIVE C# 50 Specific Ways to Improve Your C# Second Edition Bill Wagner محمد حسین سلطانی.
Future of VB and C# Lucian Wischik VB Language PM Microsoft.

Huseyin YILDIZ Software Design Engineer Microsoft Corporation SESSION CODE: DEV314.
IAsyncResult ar = BeginSomething(…); // Do other work, checking ar.IsCompleted int result = EndSomething(ar);
Problems.Net Анатолий Крыжановский Обра. ООП 2 class Bar { } void Foo(object a) { Console.WriteLine("object"); } void Foo(object a, object b) { Console.WriteLine("object,
Sheet 3 HANDLING EXCEPTIONS Advanced Programming using Java By Nora Alaqeel.
Asynchronous Programming Writing Asynchronous Code in C# SoftUni Team Technical Trainers Software University
CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Advanced.NET Programming I 10 th Lecture Pavel Ježek
Inside LINQ to Objects How LINQ to Objects work Inside LINQ1.
Microsoft.NET Вторая лекция. Reference and value types public class RefType { } public struct ValueType : IDisposable { public int A, B; public ValueType(int.
Generics Generics vs. heterogeneous collections Doing your own generics FEN 2014UCN Teknologi/act2learn1.
Satisfy Your Technical Curiosity C# 3.0 Raj Pai Group Program Manager Microsoft Corporation
12.6 – Probability Distributions. Properties of Probability Distributions.
 A class is a collection of things which posses common similarities.  In C#.NET a class is a user defined Data type and is Known as Reference.
TOPICS WHAT YOU’LL LEAVE WITH WHO WILL BENEFIT FROM THIS TALK.NET library developers : with knowledge of async/await in C# / VB interested in low-level.
IAP C# 2011 Lecture 2: Delegates, Lambdas, LINQ Geza Kovacs.
1 Advanced Programming Examples Output. Show the exact output produced by the following code segment. char[,] pic = new char[6,6]; for (int i = 0; i
POINTERS IN C. Introduction  A pointer is a variable that holds a memory address  This address is the location of another object (typically another.
App Package Folder App data Folders Local Roaming Temp Removable Storage (SD Card) Cloud Credential Locker B/ground Transfer Publishers Shared Folder.
Print Row Function void PrintRow(float x[ ][4],int i) { int j; for(j=0;j
Session 02 Module 3: Statements and Operators Module 4: Programming constructs Module 5: Arrays.
33) static void Main() { Action operations = MathOperations.MultiplyByTwo; operations += MathOperations.Square; ProcessAndDisplayNumber(operations, 2.0);
task ReadContent(String^ filename) { anim->Start(); auto t = create_task(KnownFolders::DocumentsLibrary-> GetFileAsync(filename)).then( [](StorageFile^
Lecture 11: Generics. The Generic List loading data from a file using System.IO; : namespace EmpListDemo { static class Program { static void Main(string[]
C++ Functions Revisited INFSY 307 C++. Must always consider three parts of the Program: Function Prototype: Can be in the header or top of a function.
Int fact (int n) { If (n == 0) return 1; else return n * fact (n – 1); } 5 void main () { Int Sum; : Sum = fact (5); : } Factorial Program Using Recursion.
C# Present and Future Marita Paletsou Software Engineer.
C# 5.0 Alex Davies 22 nd December What we will cover C# 5.0,.NET 4.5, Visual Studio 11 Caller Info Attributes Upgrade from synchronous to asynchronous.
Introduction to JENNIFER | Aug, C# 5.0 1/1/ C# 과 닷넷 프레임워크 2/2/ C# 2.0, 3.0, 4.0, 5.0 정리 3/3/ 정리 및 Q&A.
Thank you to our AWESOME sponsors!
Abstract methods and classes. Abstract method A placeholder for a method that will be fully defined in a subclass.
Data in Windows 10 UWP Andy Wigley XML, JSON, SQLite or EF Core ?
Async Made Simple in Windows 8, with C# and Visual Basic Alex Turner Program Manager VB/C# Compilers Microsoft Corporation DEV332.
CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Advanced.NET Programming I 2 nd Lecture Pavel Ježek
Parameter Passing & Array Examples – Part 1
Future of C#
Algebra II Honors Problem of the Day

Time Interval(Δt) Time (t) is a concept that describes when an event occurs. Initial time (ti) is when the event began. Final time (tf) is when the event.
12 Asynchronous Programming
كار همراه با آسودگي و امنيت
Return by Reference CSCE 121 J. Michael Moore.
JavaScript Reserved Words
void method2() { Console.WriteLine(“Method 2 was called”);
Time Interval(Δt) Time (t) is a concept that describes when an event occurs. Initial time (ti) is when the event began. Final time (tf) is when the event.
What’s Coming to C# William Fuqua. What’s Coming to C# William Fuqua.
Around the room Orders of operations.
Ex1: class RefOutOverloadExample { public void SampleMethod(int i) { }
START DIRECTIONS QUIZ.
Advanced .NET Programming I 6th Lecture
Presentation transcript:

DEV415

You are in a dark room with no signs of life. You still have your torch and $356. You can go North (N) or South (S). Your choice? _

async void ServeCustomer(Customer customer) { var order = TakeOrder(customer); try { var pizza = await GetSomeoneToMakeThePizza(order); GivePizzaToCustomer(customer, pizza); using (var employee = GetNewEmployee()) { await WaitForCustomerToFinishEating(); employee.CleanUpCustomerRubbish(); } catch (PizzaMakingException ex) { }

Head to... aka.ms/te

void CallYield() { int callIndex = 0; Console.WriteLine(“ Call - 1"); foreach (var number in GetNumbers()) { Console.WriteLine(" Call: " + callIndex++); } IEnumerable GetNumbers() { Console.WriteLine("Before 1"); yield return 1; Console.WriteLine("Before 2"); yield return 2; Console.WriteLine("Yield finished"); } Call - 1 Before 1 Call: 0 Before 2 Call: 1 Yield finished Call: 2