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.Text; | |
| using System.Data; | |
| using Oracle.DataAccess.Client; | |
| using System.Diagnostics; | |
| namespace DataBase | |
| { |
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
| Imports System.Runtime.CompilerServices | |
| <Extension()> | |
| Public Module GenericExtensions | |
| Function Coalesce(Of T)(first As T, second As T) As T | |
| If (first Is Nothing) Then | |
| Return second | |
| End If | |
| Return first | |
| End Function |
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
| Dim states as Dictionary(Of String, String)() From { {"CA", "California"} } | |
| 'to get the name just call where stateCode is the inputted string from the user. | |
| Dim name as String = states(_stateCode) |
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
| #include <iostream> | |
| #include <ctime> | |
| #include <ctype.h> | |
| using namespace std; | |
| const int wordSIZE = 50; | |
| void checkVowel(char word[], int size, bool &first_VOWEL, bool &first_CAP, bool &VOWEL ); | |
| int arrayLength(char[]); |
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
| #Add the profile path to the environment path variable | |
| $ProfileRoot = (Split-Path -Parent $MyInvocation.MyCommand.Path) | |
| $env:path = ";$ProfileRoot" | |
| #Load all of the modules from ./Modules/* that aren't already loaded. | |
| (gci $ProfileRoot"/Modules") | ForEach { if ( -Not( Get-Module $_.Name ) ) { Import-Module $_.Name; Write-Host Importing Module: $_.Name } } |
NewerOlder