C# Класс CSMSL.Chemistry.Element

Represents a single chemical element. Elements comprises of multiple isotopes, with the element mass being a weighted average of all the isotopes atomic masses weighted by their natural relative abundance.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ToString ( ) : string

Returns a textual representation of this element in the following format: Hydrogen (H) Helium (He)

this ( int atomicNumber ) : Isotope

Gets an isotope of this element based on its atomic number

Приватные методы

Метод Описание
AddIsotope ( int atomicNumber, double atomicMass, float abundance ) : Isotope

Add an isotope to this element

Element ( string name, string symbol, int atomicNumber, int valenceElectrons ) : System.Collections.Generic

Create a new element

Описание методов

ToString() публичный метод

Returns a textual representation of this element in the following format: Hydrogen (H) Helium (He)
public ToString ( ) : string
Результат string

this() публичный метод

Gets an isotope of this element based on its atomic number
public this ( int atomicNumber ) : Isotope
atomicNumber int The atomic number of the isotope to get
Результат Isotope