Initially taken by Niko Matsakis and lightly edited by Ryan Levick
- Introductions
- Cargo inside large build systems
- FFI
- Foundations and financial support
private static Bitmap BlackAndWhite(Bitmap image, Rectangle rectangle) | |
{ | |
Bitmap blackAndWhite = new System.Drawing.Bitmap(image.Width, image.Height); | |
// make an exact copy of the bitmap provided | |
using(Graphics graphics = System.Drawing.Graphics.FromImage(blackAndWhite)) | |
graphics.DrawImage(image, new System.Drawing.Rectangle(0, 0, image.Width, image.Height), | |
new Rectangle(0, 0, image.Width, image.Height), GraphicsUnit.Pixel); | |
// for every pixel in the rectangle region |
#!/bin/bash | |
if [ $# -ne 4 ] | |
then | |
echo "Usage: $0 <host> <port> <pattern> <seconds>" | |
exit 1 | |
fi | |
cursor=-1 | |
keys="" |
namespace Analogy | |
{ | |
/// <summary> | |
/// This example shows that a library that needs access to target .NET Standard 1.3 | |
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET | |
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library. | |
/// </summary>INetCoreApp10 | |
class Example1 | |
{ | |
public void Net45Application(INetFramework45 platform) |