BFWOberhausen.FIA34.RechnenBiblio 1.0.0

Eine Test-Klasse, um den Umgang mit Klassenbibliotheken zu erlernen.

Install-Package BFWOberhausen.FIA34.RechnenBiblio -Version 1.0.0
dotnet add package BFWOberhausen.FIA34.RechnenBiblio --version 1.0.0
<PackageReference Include="BFWOberhausen.FIA34.RechnenBiblio" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BFWOberhausen.FIA34.RechnenBiblio --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BFWOberhausen.FIA34.RechnenBiblio, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install BFWOberhausen.FIA34.RechnenBiblio as a Cake Addin
#addin nuget:?package=BFWOberhausen.FIA34.RechnenBiblio&version=1.0.0

// Install BFWOberhausen.FIA34.RechnenBiblio as a Cake Tool
#tool nuget:?package=BFWOberhausen.FIA34.RechnenBiblio&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Es handelt sich "nur" um eine Test-Klasse, um den Umgang mit Klassenbibliotheken zu erlernen.

Code:

using System;

namespace BFWOberhausen.FIA34
{
    /// <summary>
    /// Eine Test-Klasse, um den Umgang mit Klassenbibliotheken zu erlernen.
    /// </summary>
    public static class Rechnen
    {
        public static double Sum(double Summand1, double Summand2)
        {
            return Summand1 + Summand2;
        }

        public static double Mul(double Multiplikator, double Multiplikand)
        {
            return Multiplikator * Multiplikand;
        }

        public static bool Div(double Dividend, double Divisor, out double Quotient)
        {
            if (Divisor == 0)
            {
                Quotient = 0;
                return false;
            }
            else
            {
                Quotient = Dividend / Divisor;
                return true;
            }
        }

        public static double Sub(double Minuend, double Subtrahend)
        {
            return Minuend - Subtrahend;
        }

        //.... Und noch mehr Methoden 😉
    }
}

Es handelt sich "nur" um eine Test-Klasse, um den Umgang mit Klassenbibliotheken zu erlernen.

Code:

using System;

namespace BFWOberhausen.FIA34
{
    /// <summary>
    /// Eine Test-Klasse, um den Umgang mit Klassenbibliotheken zu erlernen.
    /// </summary>
    public static class Rechnen
    {
        public static double Sum(double Summand1, double Summand2)
        {
            return Summand1 + Summand2;
        }

        public static double Mul(double Multiplikator, double Multiplikand)
        {
            return Multiplikator * Multiplikand;
        }

        public static bool Div(double Dividend, double Divisor, out double Quotient)
        {
            if (Divisor == 0)
            {
                Quotient = 0;
                return false;
            }
            else
            {
                Quotient = Dividend / Divisor;
                return true;
            }
        }

        public static double Sub(double Minuend, double Subtrahend)
        {
            return Minuend - Subtrahend;
        }

        //.... Und noch mehr Methoden 😉
    }
}

  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 111 1/8/2021