Suspend a job and send it to the background:
Resumes jobs that have been suspended, and keeps them running in the background:
Bring most recently suspended background job to foreground:
Display status of jobs in the current session:
Java doesn’t have the concept of delegate; instead, if you need a pointer to a function, you can create inline anonymous classes (or lambda expressions as of Java 8 ) which are implementations of certain interfaces designed for this propose (a.k.a functional interfaces as of Java 8). However as Java evolves, more of such interfaces are being added. While they may seem very similar and confusing, each of them has a unique characteristic which sets it apart from the others. You can map many of them to identical types in .NET. The following table lists some of the famous interfaces but there are many more. For example to support functions with two arguments, Java has another interface called BiFunction and if you need more arguments, you have to create your own interfaces. Remember that Java (up to version 10) doesn’t support identical class names if the only difference is number of type arguments. (In .NET there are various Func and Action types with up to 16 type arguments.)
Currently .NET Core is only supported for Ubuntu 14.04 and when you try installing it on Ubuntu 15.10 you get the following error:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dotnet : Depends: libicu52 (>= 52~m1-1~) but it is not installable
E: Unable to correct problems, you have held broken packages.
As a workaround you can download and install libicu52 manually before installing dotnet .
Problem: ‘xunit.core’ already has a dependency defined for ‘xunit.extensibility.core’
Solution: Update to the latest version of
nuget.exe by running the following command in the
.nuget folder of your solution:
nuget update -self
A class should be so small that anyone can easily understand it. If a method is not required to be understood in order to understand the class, then that method probably doesn’t belong in there and it’s not part of the responsibility of that class.
It is not a good idea to judge how big a class is based on the number of lines of code, however the following list can give you a rough estimate:
- Less than 100: Ideal
- 100 to 200: Ok
- 200 to 300: Warning
- 300+: The class is too big
When there are multiple app pools running, you see more than one w3wp.exe in the list of processes you want to attach to. The following command helps to find the process associated with your app pool:
%systemroot%\system32\inetsrv\APPCMD LIST WP