This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace create_implement_events_callbacks | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var publisher = new Publisher(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace create_implement_events_callbacks | |
| { | |
| public class MyArgs : EventArgs | |
| { | |
| public MyArgs(string value) | |
| { | |
| Value = value; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace create_implement_events_callbacks | |
| { | |
| public class MyArgs : EventArgs | |
| { | |
| public MyArgs(int value) | |
| { | |
| Value = value; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace create_implement_events_callbacks | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace implement_exception_handling | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var awesomePhrase = "Luis wants some ice cream."; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| namespace implement_exception_handling | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var myValues = new List<string> {"Luis wants some ice cream.", null, "1232323212312"}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace implement_exception_handling | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var notSoGreatPhrase = "That is a not-so-great phrase"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Runtime.ExceptionServices; | |
| namespace implement_exception_handling | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var notSoGreatPhrase = "That is a not-so-great phrase"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Runtime.Serialization; | |
| namespace implement_exception_handling | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| Console.ReadKey(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import logo from './logo.svg'; | |
| import './App.css'; | |
| import { ModalYesNo } from './components/ModalYesNo'; | |
| class App extends Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { |