├── 10 ├── Dictionary │ ├── Dictionary.csproj │ └── Program.cs ├── FloatVsDoubleVsDecimal │ ├── FloatVsDoubleVsDecimal.csproj │ └── Program.cs ├── ForEachLoop │ ├── ForEachLoop.csproj │ └── Program.cs ├── List │ ├── List.csproj │ └── Program.cs ├── StringBuilder │ ├── Program.cs │ └── StringBuilder.csproj └── StringConcatVsStringBuilder │ ├── Program.cs │ └── StringConcatVsStringBuilder.csproj ├── 11 ├── Class │ ├── Class.csproj │ ├── Program.cs │ └── Warrior.cs ├── ExtensionMethod │ ├── ExtensionMethod.csproj │ ├── Program.cs │ └── StringExtensions.cs ├── PartialClass │ ├── PartialClass.csproj │ ├── Program.cs │ ├── Robot.LeftArm.cs │ └── Robot.RightArm.cs ├── StaticClass │ ├── Program.cs │ ├── StaticClass.csproj │ └── UnitConverter.cs └── StaticMethod │ ├── CourseCode.cs │ ├── ESubject.cs │ ├── Program.cs │ └── StaticMethod.csproj ├── 12 ├── LINQ │ ├── LINQ.csproj │ ├── Order.cs │ ├── OrderItem.cs │ └── Program.cs ├── Nullable │ ├── Bar.cs │ ├── Foo.cs │ ├── Nullable.csproj │ └── Program.cs ├── Struct │ ├── CartItem.cs │ ├── Program.cs │ └── Struct.csproj └── ValueTypeVsReferenceType │ ├── Program.cs │ ├── ValueTypeVsReferenceType.csproj │ └── Vector.cs ├── 13 ├── ReadAndWriteFile │ ├── Program.cs │ ├── ReadAndWriteFile.csproj │ └── input │ │ └── inputtext.txt ├── ReadAndWriteFileUsingFileStream │ ├── Program.cs │ ├── ReadAndWriteFileUsingFileStream.csproj │ └── input │ │ └── inputtext.txt ├── TryCatchFinally │ ├── IntegerIs10Exception.cs │ ├── Program.cs │ └── TryCatchFinally.csproj └── UsingStatement │ ├── Program.cs │ ├── UsingStatement.csproj │ └── input │ └── inputtext.txt ├── 14 └── CopyDirectory │ ├── CopyDirectory.csproj │ ├── Program.cs │ └── input │ ├── innerfolder │ ├── innerinnerfolder │ │ └── mostinner.txt │ └── mytext.txt │ ├── innerfolder2 │ ├── secretmessage.txt │ └── secretmessage2.txt │ └── notsosecretmessage.txt ├── .gitignore ├── 01 └── HelloWorld │ ├── HelloWorld.csproj │ └── Program.cs ├── 02 ├── Comment │ ├── Comment.csproj │ └── Program.cs ├── PrimitiveTypesToBinary │ ├── PrimitiveTypesToBinary.csproj │ └── Program.cs └── Variables │ ├── Program.cs │ └── Variables.csproj ├── 03 ├── ASCIICodeHelloWorld │ ├── ASCIICodeHelloWorld.csproj │ └── Program.cs ├── BitFlag │ ├── BitFlag.csproj │ └── Program.cs ├── BitwiseMultiplicationAndDivision │ ├── BitwiseMultiplicationAndDivision.csproj │ └── Program.cs ├── Calculator │ ├── Calculator.csproj │ └── Program.cs ├── IncrementAndDecrementOperators │ ├── IncrementAndDecrementOperators.csproj │ └── Program.cs ├── InsertStudentInformation │ ├── InsertStudentInformation.csproj │ └── Program.cs ├── StringInterpolation │ ├── Program.cs │ └── StringInterpolation.csproj └── TypeConversion │ ├── Program.cs │ └── TypeConversion.csproj ├── 04 ├── InsertStudentInformation2 │ ├── InsertStudentInformation2.csproj │ └── Program.cs ├── LogicalExpressions │ ├── LogicalExpressions.csproj │ └── Program.cs └── OrderOfExpressionEvaluation │ ├── OrderOfExpressionEvaluation.csproj │ └── Program.cs ├── 05 ├── AddTwo2dArrays │ ├── AddTwo2dArrays.csproj │ └── Program.cs ├── CalculatorWithSwitchStatement │ ├── CalculatorWithSwitchStatement.csproj │ └── Program.cs ├── InfiniteWhileLoop │ ├── InfiniteWhileLoop.csproj │ └── Program.cs ├── InsertStudentInformation3 │ ├── InsertStudentInformation3.csproj │ └── Program.cs └── Sum │ ├── Program.cs │ └── Sum.csproj ├── 06 ├── CalculatorUsingEnum │ ├── CalculatorUsingEnum.csproj │ ├── EOperator.cs │ └── Program.cs ├── CallByValueAndCallByReference │ ├── CallByValueAndCallByReference.csproj │ └── Program.cs ├── Functions │ ├── Functions.csproj │ └── Program.cs ├── InputValidationUsingAssert │ ├── InputValidationUsingAssert.csproj │ └── Program.cs └── Scope │ ├── Program.cs │ └── Scope.csproj ├── 07 ├── RandomShuffling │ ├── Program.cs │ └── RandomShuffling.csproj └── RecursiveFactorial │ ├── Program.cs │ └── RecursiveFactorial.csproj ├── 09 ├── ArrayOfArrays │ ├── ArrayOfArrays.csproj │ └── Program.cs ├── DefaultParameters │ ├── DefaultParameters.csproj │ └── Program.cs ├── FunctionOverloading │ ├── FunctionOverloading.csproj │ └── Program.cs ├── OutParameterModifier │ ├── OutParameterModifier.csproj │ └── Program.cs └── ParseTextMessage │ ├── ParseTextMessage.csproj │ ├── Program.cs │ └── TextMessage.txt ├── BuildTargets └── Common.targets ├── CODEOWNERS ├── COMP1500CodesSamples.sln └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/.gitignore -------------------------------------------------------------------------------- /01/HelloWorld/HelloWorld.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/01/HelloWorld/HelloWorld.csproj -------------------------------------------------------------------------------- /01/HelloWorld/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/01/HelloWorld/Program.cs -------------------------------------------------------------------------------- /02/Comment/Comment.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/02/Comment/Comment.csproj -------------------------------------------------------------------------------- /02/Comment/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/02/Comment/Program.cs -------------------------------------------------------------------------------- /02/PrimitiveTypesToBinary/PrimitiveTypesToBinary.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/02/PrimitiveTypesToBinary/PrimitiveTypesToBinary.csproj -------------------------------------------------------------------------------- /02/PrimitiveTypesToBinary/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/02/PrimitiveTypesToBinary/Program.cs -------------------------------------------------------------------------------- /02/Variables/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/02/Variables/Program.cs -------------------------------------------------------------------------------- /02/Variables/Variables.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/02/Variables/Variables.csproj -------------------------------------------------------------------------------- /03/ASCIICodeHelloWorld/ASCIICodeHelloWorld.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/ASCIICodeHelloWorld/ASCIICodeHelloWorld.csproj -------------------------------------------------------------------------------- /03/ASCIICodeHelloWorld/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/ASCIICodeHelloWorld/Program.cs -------------------------------------------------------------------------------- /03/BitFlag/BitFlag.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/BitFlag/BitFlag.csproj -------------------------------------------------------------------------------- /03/BitFlag/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/BitFlag/Program.cs -------------------------------------------------------------------------------- /03/BitwiseMultiplicationAndDivision/BitwiseMultiplicationAndDivision.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/BitwiseMultiplicationAndDivision/BitwiseMultiplicationAndDivision.csproj -------------------------------------------------------------------------------- /03/BitwiseMultiplicationAndDivision/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/BitwiseMultiplicationAndDivision/Program.cs -------------------------------------------------------------------------------- /03/Calculator/Calculator.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/Calculator/Calculator.csproj -------------------------------------------------------------------------------- /03/Calculator/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/Calculator/Program.cs -------------------------------------------------------------------------------- /03/IncrementAndDecrementOperators/IncrementAndDecrementOperators.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/IncrementAndDecrementOperators/IncrementAndDecrementOperators.csproj -------------------------------------------------------------------------------- /03/IncrementAndDecrementOperators/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/IncrementAndDecrementOperators/Program.cs -------------------------------------------------------------------------------- /03/InsertStudentInformation/InsertStudentInformation.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/InsertStudentInformation/InsertStudentInformation.csproj -------------------------------------------------------------------------------- /03/InsertStudentInformation/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/InsertStudentInformation/Program.cs -------------------------------------------------------------------------------- /03/StringInterpolation/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/StringInterpolation/Program.cs -------------------------------------------------------------------------------- /03/StringInterpolation/StringInterpolation.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/StringInterpolation/StringInterpolation.csproj -------------------------------------------------------------------------------- /03/TypeConversion/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/TypeConversion/Program.cs -------------------------------------------------------------------------------- /03/TypeConversion/TypeConversion.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/03/TypeConversion/TypeConversion.csproj -------------------------------------------------------------------------------- /04/InsertStudentInformation2/InsertStudentInformation2.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/04/InsertStudentInformation2/InsertStudentInformation2.csproj -------------------------------------------------------------------------------- /04/InsertStudentInformation2/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/04/InsertStudentInformation2/Program.cs -------------------------------------------------------------------------------- /04/LogicalExpressions/LogicalExpressions.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/04/LogicalExpressions/LogicalExpressions.csproj -------------------------------------------------------------------------------- /04/LogicalExpressions/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/04/LogicalExpressions/Program.cs -------------------------------------------------------------------------------- /04/OrderOfExpressionEvaluation/OrderOfExpressionEvaluation.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/04/OrderOfExpressionEvaluation/OrderOfExpressionEvaluation.csproj -------------------------------------------------------------------------------- /04/OrderOfExpressionEvaluation/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/04/OrderOfExpressionEvaluation/Program.cs -------------------------------------------------------------------------------- /05/AddTwo2dArrays/AddTwo2dArrays.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/05/AddTwo2dArrays/AddTwo2dArrays.csproj -------------------------------------------------------------------------------- /05/AddTwo2dArrays/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/05/AddTwo2dArrays/Program.cs -------------------------------------------------------------------------------- /05/CalculatorWithSwitchStatement/CalculatorWithSwitchStatement.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/05/CalculatorWithSwitchStatement/CalculatorWithSwitchStatement.csproj -------------------------------------------------------------------------------- /05/CalculatorWithSwitchStatement/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/05/CalculatorWithSwitchStatement/Program.cs -------------------------------------------------------------------------------- /05/InfiniteWhileLoop/InfiniteWhileLoop.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/05/InfiniteWhileLoop/InfiniteWhileLoop.csproj -------------------------------------------------------------------------------- /05/InfiniteWhileLoop/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/05/InfiniteWhileLoop/Program.cs -------------------------------------------------------------------------------- /05/InsertStudentInformation3/InsertStudentInformation3.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/05/InsertStudentInformation3/InsertStudentInformation3.csproj -------------------------------------------------------------------------------- /05/InsertStudentInformation3/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/05/InsertStudentInformation3/Program.cs -------------------------------------------------------------------------------- /05/Sum/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/05/Sum/Program.cs -------------------------------------------------------------------------------- /05/Sum/Sum.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/05/Sum/Sum.csproj -------------------------------------------------------------------------------- /06/CalculatorUsingEnum/CalculatorUsingEnum.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/06/CalculatorUsingEnum/CalculatorUsingEnum.csproj -------------------------------------------------------------------------------- /06/CalculatorUsingEnum/EOperator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/06/CalculatorUsingEnum/EOperator.cs -------------------------------------------------------------------------------- /06/CalculatorUsingEnum/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/06/CalculatorUsingEnum/Program.cs -------------------------------------------------------------------------------- /06/CallByValueAndCallByReference/CallByValueAndCallByReference.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/06/CallByValueAndCallByReference/CallByValueAndCallByReference.csproj -------------------------------------------------------------------------------- /06/CallByValueAndCallByReference/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/06/CallByValueAndCallByReference/Program.cs -------------------------------------------------------------------------------- /06/Functions/Functions.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/06/Functions/Functions.csproj -------------------------------------------------------------------------------- /06/Functions/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/06/Functions/Program.cs -------------------------------------------------------------------------------- /06/InputValidationUsingAssert/InputValidationUsingAssert.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/06/InputValidationUsingAssert/InputValidationUsingAssert.csproj -------------------------------------------------------------------------------- /06/InputValidationUsingAssert/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/06/InputValidationUsingAssert/Program.cs -------------------------------------------------------------------------------- /06/Scope/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/06/Scope/Program.cs -------------------------------------------------------------------------------- /06/Scope/Scope.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/06/Scope/Scope.csproj -------------------------------------------------------------------------------- /07/RandomShuffling/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/07/RandomShuffling/Program.cs -------------------------------------------------------------------------------- /07/RandomShuffling/RandomShuffling.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/07/RandomShuffling/RandomShuffling.csproj -------------------------------------------------------------------------------- /07/RecursiveFactorial/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/07/RecursiveFactorial/Program.cs -------------------------------------------------------------------------------- /07/RecursiveFactorial/RecursiveFactorial.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/07/RecursiveFactorial/RecursiveFactorial.csproj -------------------------------------------------------------------------------- /09/ArrayOfArrays/ArrayOfArrays.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/09/ArrayOfArrays/ArrayOfArrays.csproj -------------------------------------------------------------------------------- /09/ArrayOfArrays/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/09/ArrayOfArrays/Program.cs -------------------------------------------------------------------------------- /09/DefaultParameters/DefaultParameters.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/09/DefaultParameters/DefaultParameters.csproj -------------------------------------------------------------------------------- /09/DefaultParameters/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/09/DefaultParameters/Program.cs -------------------------------------------------------------------------------- /09/FunctionOverloading/FunctionOverloading.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/09/FunctionOverloading/FunctionOverloading.csproj -------------------------------------------------------------------------------- /09/FunctionOverloading/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/09/FunctionOverloading/Program.cs -------------------------------------------------------------------------------- /09/OutParameterModifier/OutParameterModifier.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/09/OutParameterModifier/OutParameterModifier.csproj -------------------------------------------------------------------------------- /09/OutParameterModifier/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/09/OutParameterModifier/Program.cs -------------------------------------------------------------------------------- /09/ParseTextMessage/ParseTextMessage.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/09/ParseTextMessage/ParseTextMessage.csproj -------------------------------------------------------------------------------- /09/ParseTextMessage/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/09/ParseTextMessage/Program.cs -------------------------------------------------------------------------------- /09/ParseTextMessage/TextMessage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/09/ParseTextMessage/TextMessage.txt -------------------------------------------------------------------------------- /10/Dictionary/Dictionary.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/Dictionary/Dictionary.csproj -------------------------------------------------------------------------------- /10/Dictionary/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/Dictionary/Program.cs -------------------------------------------------------------------------------- /10/FloatVsDoubleVsDecimal/FloatVsDoubleVsDecimal.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/FloatVsDoubleVsDecimal/FloatVsDoubleVsDecimal.csproj -------------------------------------------------------------------------------- /10/FloatVsDoubleVsDecimal/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/FloatVsDoubleVsDecimal/Program.cs -------------------------------------------------------------------------------- /10/ForEachLoop/ForEachLoop.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/ForEachLoop/ForEachLoop.csproj -------------------------------------------------------------------------------- /10/ForEachLoop/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/ForEachLoop/Program.cs -------------------------------------------------------------------------------- /10/List/List.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/List/List.csproj -------------------------------------------------------------------------------- /10/List/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/List/Program.cs -------------------------------------------------------------------------------- /10/StringBuilder/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/StringBuilder/Program.cs -------------------------------------------------------------------------------- /10/StringBuilder/StringBuilder.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/StringBuilder/StringBuilder.csproj -------------------------------------------------------------------------------- /10/StringConcatVsStringBuilder/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/StringConcatVsStringBuilder/Program.cs -------------------------------------------------------------------------------- /10/StringConcatVsStringBuilder/StringConcatVsStringBuilder.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/10/StringConcatVsStringBuilder/StringConcatVsStringBuilder.csproj -------------------------------------------------------------------------------- /11/Class/Class.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/Class/Class.csproj -------------------------------------------------------------------------------- /11/Class/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/Class/Program.cs -------------------------------------------------------------------------------- /11/Class/Warrior.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/Class/Warrior.cs -------------------------------------------------------------------------------- /11/ExtensionMethod/ExtensionMethod.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/ExtensionMethod/ExtensionMethod.csproj -------------------------------------------------------------------------------- /11/ExtensionMethod/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/ExtensionMethod/Program.cs -------------------------------------------------------------------------------- /11/ExtensionMethod/StringExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/ExtensionMethod/StringExtensions.cs -------------------------------------------------------------------------------- /11/PartialClass/PartialClass.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/PartialClass/PartialClass.csproj -------------------------------------------------------------------------------- /11/PartialClass/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/PartialClass/Program.cs -------------------------------------------------------------------------------- /11/PartialClass/Robot.LeftArm.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/PartialClass/Robot.LeftArm.cs -------------------------------------------------------------------------------- /11/PartialClass/Robot.RightArm.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/PartialClass/Robot.RightArm.cs -------------------------------------------------------------------------------- /11/StaticClass/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/StaticClass/Program.cs -------------------------------------------------------------------------------- /11/StaticClass/StaticClass.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/StaticClass/StaticClass.csproj -------------------------------------------------------------------------------- /11/StaticClass/UnitConverter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/StaticClass/UnitConverter.cs -------------------------------------------------------------------------------- /11/StaticMethod/CourseCode.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/StaticMethod/CourseCode.cs -------------------------------------------------------------------------------- /11/StaticMethod/ESubject.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/StaticMethod/ESubject.cs -------------------------------------------------------------------------------- /11/StaticMethod/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/StaticMethod/Program.cs -------------------------------------------------------------------------------- /11/StaticMethod/StaticMethod.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/11/StaticMethod/StaticMethod.csproj -------------------------------------------------------------------------------- /12/LINQ/LINQ.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/LINQ/LINQ.csproj -------------------------------------------------------------------------------- /12/LINQ/Order.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/LINQ/Order.cs -------------------------------------------------------------------------------- /12/LINQ/OrderItem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/LINQ/OrderItem.cs -------------------------------------------------------------------------------- /12/LINQ/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/LINQ/Program.cs -------------------------------------------------------------------------------- /12/Nullable/Bar.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/Nullable/Bar.cs -------------------------------------------------------------------------------- /12/Nullable/Foo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/Nullable/Foo.cs -------------------------------------------------------------------------------- /12/Nullable/Nullable.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/Nullable/Nullable.csproj -------------------------------------------------------------------------------- /12/Nullable/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/Nullable/Program.cs -------------------------------------------------------------------------------- /12/Struct/CartItem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/Struct/CartItem.cs -------------------------------------------------------------------------------- /12/Struct/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/Struct/Program.cs -------------------------------------------------------------------------------- /12/Struct/Struct.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/Struct/Struct.csproj -------------------------------------------------------------------------------- /12/ValueTypeVsReferenceType/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/ValueTypeVsReferenceType/Program.cs -------------------------------------------------------------------------------- /12/ValueTypeVsReferenceType/ValueTypeVsReferenceType.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/ValueTypeVsReferenceType/ValueTypeVsReferenceType.csproj -------------------------------------------------------------------------------- /12/ValueTypeVsReferenceType/Vector.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/12/ValueTypeVsReferenceType/Vector.cs -------------------------------------------------------------------------------- /13/ReadAndWriteFile/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/ReadAndWriteFile/Program.cs -------------------------------------------------------------------------------- /13/ReadAndWriteFile/ReadAndWriteFile.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/ReadAndWriteFile/ReadAndWriteFile.csproj -------------------------------------------------------------------------------- /13/ReadAndWriteFile/input/inputtext.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/ReadAndWriteFile/input/inputtext.txt -------------------------------------------------------------------------------- /13/ReadAndWriteFileUsingFileStream/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/ReadAndWriteFileUsingFileStream/Program.cs -------------------------------------------------------------------------------- /13/ReadAndWriteFileUsingFileStream/ReadAndWriteFileUsingFileStream.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/ReadAndWriteFileUsingFileStream/ReadAndWriteFileUsingFileStream.csproj -------------------------------------------------------------------------------- /13/ReadAndWriteFileUsingFileStream/input/inputtext.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/ReadAndWriteFileUsingFileStream/input/inputtext.txt -------------------------------------------------------------------------------- /13/TryCatchFinally/IntegerIs10Exception.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/TryCatchFinally/IntegerIs10Exception.cs -------------------------------------------------------------------------------- /13/TryCatchFinally/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/TryCatchFinally/Program.cs -------------------------------------------------------------------------------- /13/TryCatchFinally/TryCatchFinally.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/TryCatchFinally/TryCatchFinally.csproj -------------------------------------------------------------------------------- /13/UsingStatement/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/UsingStatement/Program.cs -------------------------------------------------------------------------------- /13/UsingStatement/UsingStatement.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/UsingStatement/UsingStatement.csproj -------------------------------------------------------------------------------- /13/UsingStatement/input/inputtext.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/13/UsingStatement/input/inputtext.txt -------------------------------------------------------------------------------- /14/CopyDirectory/CopyDirectory.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/14/CopyDirectory/CopyDirectory.csproj -------------------------------------------------------------------------------- /14/CopyDirectory/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/14/CopyDirectory/Program.cs -------------------------------------------------------------------------------- /14/CopyDirectory/input/innerfolder/innerinnerfolder/mostinner.txt: -------------------------------------------------------------------------------- 1 | most inner text -------------------------------------------------------------------------------- /14/CopyDirectory/input/innerfolder/mytext.txt: -------------------------------------------------------------------------------- 1 | My text message -------------------------------------------------------------------------------- /14/CopyDirectory/input/innerfolder2/secretmessage.txt: -------------------------------------------------------------------------------- 1 | This is super sensitive message -------------------------------------------------------------------------------- /14/CopyDirectory/input/innerfolder2/secretmessage2.txt: -------------------------------------------------------------------------------- 1 | Again... secret message -------------------------------------------------------------------------------- /14/CopyDirectory/input/notsosecretmessage.txt: -------------------------------------------------------------------------------- 1 | Not so secret message -------------------------------------------------------------------------------- /BuildTargets/Common.targets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/BuildTargets/Common.targets -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @POCU/reviewers 2 | -------------------------------------------------------------------------------- /COMP1500CodesSamples.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/COMP1500CodesSamples.sln -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/POCU/COMP1500CodeSamples/HEAD/README.md --------------------------------------------------------------------------------