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 './Modal.css' | |
| export class ModalYesNo extends Component { | |
| constructor(props) { | |
| super(props); | |
| const modalStyle = { | |
| height: this.props.height | |
| } |
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 './App.css'; | |
| import NavBar from './components/navbar/navbar'; | |
| import { BrowserRouter, Switch, Route } from 'react-router-dom'; | |
| import Home from './components/home/home'; | |
| import About from './components/about/about'; | |
| class App extends Component { | |
| render() { | |
| return ( |
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 from 'react'; | |
| const Home = () => { | |
| return ( | |
| <h1>Home</h1> | |
| ) | |
| } | |
| export default Home; |
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_types | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var orderShipping = new OrderShipping("Wall Street", "Luis"); |
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_types | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var intNode = new Node<int>(1, "Integer node value"); | |
| //var stringNode = new Node<string>("throws a compile-time error because string is a reference type ", "String node 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.Globalization; | |
| namespace create_types | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var product = new Product(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Globalization; | |
| using System.Security.Cryptography.X509Certificates; | |
| namespace create_types | |
| { | |
| 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; | |
| using System.Globalization; | |
| namespace create_types | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var product = new Product("luis", manufacturer:"not a default manufacturer"); |
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_types | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |