Set of useful extensions methods written in C#.
Name | Targets on |
---|---|
master (current) | C# 4.0 |
Portable8 | C# 4.0, .NET 4.5, Silverlight 5, Windows 8, Windows Phone 8.1 + 8 (Silverlight) |
NetCore5 | C# 6.0, .NET Core 5 |
- Abs
- ACos
- AddRange
- AsAggregate
- AsArray
- AsChars
- AsCollection
- AsDictionary
- AsDynamic
- AsFileStream
- AsGeneric
- ASin
- AsKeyValuePairs
- AsList
- AsMemoryStream
- AsString
- ATan
- ATan2
- BigMul
- Build
- Ceiling
- ChangeType
- Cos
- CosH
- CreateInstance
- CreateUnwrappedInstanceOf
- Days
- DeleteDirectoriesWhere
- DeleteFilesWhere
- DeleteWhere
- DisposeAll
- DistinctBy
- Exp
- Floor
- ForAll
- FromBinary
- GetBytes
- GetManifestResourceBlob
- GetManifestResourceString
- GetSimilarity
- GetString
- GUnzip
- GZip
- Hash
- Hours
- IEEERemainder
- Invoke
- InvokeForStream
- InvokeSafe
- IsBetween
- IsEmpty
- IsFalse
- IsGreaterOrEqual
- IsGreaterThan
- IsLessOrEqual
- IsLessThan
- IsNotEmpty
- IsNotFalse
- IsNotNull
- IsNotTrue
- IsNull
- IsTrue
- Log
- Log10
- MakePassword
- Max
- MD5
- Merge
- Milliseconds
- Min
- Minutes
- Negate
- NoNulls
- PeekOrDefault
- PopAll
- PopOrDefault
- Pow
- PushRange
- Randomize
- ReadBuffered
- ReadLines
- ReadSingleByte
- RemoveWhere
- Round
- Seconds
- SelectEntries
- SetBasicAuth
- SHA256
- SHA384
- SHA512
- Shuffle
- Sign
- Sin
- SinH
- SkipLast
- Sqrt
- StartAll
- StartNewTask
- Tan
- TanH
- Ticks
- ToBinary
- ToByte
- ToByteArray
- ToDecimal
- ToDouble
- ToGuid
- ToInt16
- ToInt32
- ToInt64
- ToNullable
- ToNumber
- ToSByte
- ToSingle
- ToTask
- ToUInt16
- ToUInt32
- ToUInt64
- ToUnsecureString
- ToYesNoString
- Truncate
- TryGetValue
- TryPeek
- TryPop
- WaitForAll
- WaitForAny
- Walk
- Without
- Build
- BuildAll
- FromDbValue
- InvokeForTransaction
- ToDbValue
- ToDictionaries
- ToDictionary
- GetManifestResourceImage
- Grayscale
- FromJson
- ToJson
- EnumerateControls
- HideTabs
- SendMessage
- ShowTabs
- AsString
- FromXml
- ToXml