Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
JaneSjs
/
Sample-Code
Public
forked from
ExamRef70-483/Sample-Code
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
35 Commits
35 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.gitignore
.gitignore
LISTING 1-10 Exceptions in PLINQ
LISTING 1-10 Exceptions in PLINQ
LISTING 1-11 Create a task
LISTING 1-11 Create a task
LISTING 1-12 Run a task
LISTING 1-12 Run a task
LISTING 1-13 Task Factory
LISTING 1-13 Task Factory
LISTING 1-13 Task returning a value
LISTING 1-13 Task returning a value
LISTING 1-14 Task waitall
LISTING 1-14 Task waitall
LISTING 1-15 Continuation tasks
LISTING 1-15 Continuation tasks
LISTING 1-16 Continuation options
LISTING 1-16 Continuation options
LISTING 1-17 Attached child tasks
LISTING 1-17 Attached child tasks
LISTING 1-18 Creating threads
LISTING 1-18 Creating threads
LISTING 1-19 Using ThreadStart
LISTING 1-19 Using ThreadStart
LISTING 1-20 Threads and lambda expressions
LISTING 1-20 Threads and lambda expressions
LISTING 1-21 ParameterizedThreadStart
LISTING 1-21 ParameterizedThreadStart
LISTING 1-22 thread lambda parameters
LISTING 1-22 thread lambda parameters
LISTING 1-23 aborting a thread
LISTING 1-23 aborting a thread
LISTING 1-24 shared flag variable
LISTING 1-24 shared flag variable
LISTING 1-25 Using join
LISTING 1-25 Using join
LISTING 1-26 ThreadLocal
LISTING 1-26 ThreadLocal
LISTING 1-27 Thread context
LISTING 1-27 Thread context
LISTING 1-28 Thread pool
LISTING 1-28 Thread pool
LISTING 1-29 Blocking the user interface/
Random Averages
LISTING 1-29 Blocking the user interface/
Random Averages
LISTING 1-2 ParallelForEach in use
LISTING 1-2 ParallelForEach in use
LISTING 1-30 Using a task/
Random Averages
LISTING 1-30 Using a task/
Random Averages
LISTING 1-31 Updating the UI/
Random Averages
LISTING 1-31 Updating the UI/
Random Averages
LISTING 1-32 Using async/
Random Averages
LISTING 1-32 Using async/
Random Averages
LISTING 1-33 Exceptions and async/
Webpage Viewer
LISTING 1-33 Exceptions and async/
Webpage Viewer
LISTING 1-34 Awaiting parallel tasks/
Webpage Viewer
LISTING 1-34 Awaiting parallel tasks/
Webpage Viewer
LISTING 1-35 Using BlockingCollection
LISTING 1-35 Using BlockingCollection
LISTING 1-36 Block ConcurrentStack
LISTING 1-36 Block ConcurrentStack
LISTING 1-37 Concurrent queue
LISTING 1-37 Concurrent queue
LISTING 1-38 Concurrent stack
LISTING 1-38 Concurrent stack
LISTING 1-39 Concurrent bag
LISTING 1-39 Concurrent bag
LISTING 1-3 ParallelFor in use
LISTING 1-3 ParallelFor in use
LISTING 1-40 Concurrent dictionary
LISTING 1-40 Concurrent dictionary
LISTING 1-41 Single task summing
LISTING 1-41 Single task summing
LISTING 1-42 Bad task interaction
LISTING 1-42 Bad task interaction
LISTING 1-43 Using locking
LISTING 1-43 Using locking
LISTING 1-44 Sensible locking
LISTING 1-44 Sensible locking
LISTING 1-45 Using monitors
LISTING 1-45 Using monitors
LISTING 1-46 Sequential locking
LISTING 1-46 Sequential locking
LISTING 1-47 Deadlocked tasks
LISTING 1-47 Deadlocked tasks
LISTING 1-48 interlock total
LISTING 1-48 interlock total
LISTING 1-49 cancel a task
LISTING 1-49 cancel a task
LISTING 1-4 Managing a parallel For loop
LISTING 1-4 Managing a parallel For loop
LISTING 1-50 cancel with exception
LISTING 1-50 cancel with exception
LISTING 1-51 unsafe thread method
LISTING 1-51 unsafe thread method
LISTING 1-52 while loops
LISTING 1-52 while loops
LISTING 1-53 do while loops
LISTING 1-53 do while loops
LISTING 1-54 for loops
LISTING 1-54 for loops
LISTING 1-55 iterate with for
LISTING 1-55 iterate with for
LISTING 1-56 iterate with foreach
LISTING 1-56 iterate with foreach
LISTING 1-57 uppercase Person
LISTING 1-57 uppercase Person
LISTING 1-58 using break
LISTING 1-58 using break
LISTING 1-59 using continue
LISTING 1-59 using continue
LISTING 1-5 A parallel LINQ query
LISTING 1-5 A parallel LINQ query
LISTING 1-60 if construction
LISTING 1-60 if construction
LISTING 1-61 logical expressions
LISTING 1-61 logical expressions
LISTING 1-62 The switch construction
LISTING 1-62 The switch construction
LISTING 1-63 Switching on strings
LISTING 1-63 Switching on strings
LISTING 1-64 Expression evaluation
LISTING 1-64 Expression evaluation
LISTING 1-65 Null conditional
LISTING 1-65 Null conditional
LISTING 1-65 Publish and subscribe
LISTING 1-65 Publish and subscribe
LISTING 1-66 Unsubscribing
LISTING 1-66 Unsubscribing
LISTING 1-67 Event based alarm
LISTING 1-67 Event based alarm
LISTING 1-68 EventHandler alarm
LISTING 1-68 EventHandler alarm
LISTING 1-6 A informing parallelization
LISTING 1-6 A informing parallelization
LISTING 1-70 Aggregating exceptions
LISTING 1-70 Aggregating exceptions
LISTING 1-71 Create delegates
LISTING 1-71 Create delegates
LISTING 1-72 Lambda expressions
LISTING 1-72 Lambda expressions
LISTING 1-73 Closures
LISTING 1-73 Closures
LISTING 1-74 Built in delegates
LISTING 1-74 Built in delegates
LISTING 1-75 lambda expression task
LISTING 1-75 lambda expression task
LISTING 1-76 try catch
LISTING 1-76 try catch
LISTING 1-77 Exception object
LISTING 1-77 Exception object
LISTING 1-78 Exception types
LISTING 1-78 Exception types
LISTING 1-79 The finally block
LISTING 1-79 The finally block
LISTING 1-7 Using AsOrdered
LISTING 1-7 Using AsOrdered
LISTING 1-80 Throwing an exception
LISTING 1-80 Throwing an exception
LISTING 1-81 Custom exceptions
LISTING 1-81 Custom exceptions
LISTING 1-82 Conditional clauses
LISTING 1-82 Conditional clauses
LISTING 1-83 Inner exceptions
LISTING 1-83 Inner exceptions
LISTING 1-84 Aggregate exceptions
LISTING 1-84 Aggregate exceptions
LISTING 1-8 Sequential elements
LISTING 1-8 Sequential elements
LISTING 1-9 Using the ForAll method
LISTING 1-9 Using the ForAll method
LISTING 1.1Parallel Invoke
LISTING 1.1Parallel Invoke
LISTING 2-10 Static constructors
LISTING 2-10 Static constructors
LISTING 2-12 Simple method
LISTING 2-12 Simple method
LISTING 2-13 Extension method
LISTING 2-13 Extension method
LISTING 2-14 Named parameters
LISTING 2-14 Named parameters
LISTING 2-15 Optional parameters
LISTING 2-15 Optional parameters
LISTING 2-16 Indexed properties
LISTING 2-16 Indexed properties
LISTING 2-17 Indexing on strings
LISTING 2-17 Indexing on strings
LISTING 2-18 Overloaded DateTime constructor
LISTING 2-18 Overloaded DateTime constructor
LISTING 2-19 Method overriding
LISTING 2-19 Method overriding
LISTING 2-1 Value and reference types
LISTING 2-1 Value and reference types
LISTING 2-20 Using base
LISTING 2-20 Using base
LISTING 2-21 Boxing and unboxing
LISTING 2-21 Boxing and unboxing
LISTING 2-23 Type conversion
LISTING 2-23 Type conversion
LISTING 2-24 Bad dynamic code
LISTING 2-24 Bad dynamic code
View all files
About
Sample code for Exam Ref 70-483 Programming in C#
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.