General Engineering Flashcards
1
Q
Fork
A
Fork = copy of a process (called a child process). Heavyweight meaning does not share resources
2
Q
Thread
A
partial copy of a process, lightweight, resources can be shared between threads. Peer relationship
3
Q
Process
A
instance of a computer program executed by one to many threads
4
Q
‘this’ in c# function
A
used for extensions. allows you pass in the instance of a class that’s calling the function by just using instance.function instead of function(instance). Like if you wanted to add a new method to the string class
5
Q
c# - What does ‘void’ mean below?
public void SampleMethod() { // Body of the method. }
A
function has no return value