Home
Map
MapView the collection of example pages for each language on this site.
ASP.NET
Application EndRequestappSettingsASHX HandlerConfigureContentTypeGlobal.asaxGlobal VariablesImage OutputIPMapGetMapPathMapRazorPagesRedirectRepeaterRequest.HeadersResponse.BinaryWriteResponse.WriteServerVariablesUseStaticFiles
C#
24-Hour Time Formats2D Array7-Zip ExecutableabstractActionAggregateAggressiveInliningAllAlphabetize StringAlphanumeric SortAnagramAndAnyAppend, StringBuilderAppendFormatArgumentExceptionArrayArray.AsReadOnlyArray.BinarySearchArray.ClearArray.ConvertAllArray.CopyArray.CreateInstanceArray.ExistsArray FindArray.ForEachArray.IndexOfArray LengthArray MemoryArray PropertyArray.ResizeArray.ReverseArray SliceArray.SortArray.TrueForAllArrayListArrayPoolArraySegmentArrayTypeMismatchExceptionasASCII TableASCII TransformationAsEnumerableAsParallelasyncAttributeAveragebaseBeepBenchmarkBetween, Before, AfterBigIntegerBinary RepresentationBinaryReaderBinarySearch ListBinaryWriterBitArrayBitConverterBitcountsBitVector32boolbool Arraybool.ParseBool Methodbool SortbreakBufferBufferedStreambytebyte ArrayCaesar CipherCapacitycaseCase, DictionaryCastsCastCast, IntcatchChangeChange Characterscharchar Arraychar Combinechar.IsDigitchar Testchar.ToLowerCharacter LiteralCharEnumeratorCheckedclassClear DictionaryCloneColorColor TableCombine ArraysCombine Dictionary KeysCommentCommon ElementsCompareToComparisonComplement, BitwiseCompound InterestCompress DataConcatConcurrentBagConcurrentDictionaryConcurrentQueueConditionalConsoleConsole ColorsConsole.ReadConsole.ReadKeyConsole.ReadLineConsole.SetOutConsole.WriteconstConstructorContainsContainsContainsKeyContainsValuecontinueConvert ArrayList, ArrayConvert ArrayList, ListConvert Bool, IntConvert Bytes, MegabytesConvert Char Array, StringConvert Char, StringConvert Days, MonthsConvert DegreesConvert Dictionary, ListConvert Dictionary, StringConvert List, ArrayConvert List, DataTableConvert List, StringConvert Miles, KilometersConvert MillisecondsConvert NanosecondsConvert Array, StringConvert String, Byte ArrayConvert TimeSpan, LongCopy DictionaryCountCount Array ElementsCount CharactersCount DictionaryCount LettersCSV FilesDataColumnDataRowDataRow FieldDataSetDataTableDataTable Compare RowsDataTable foreachDataTable RowChangedDataTable SelectDataViewDateTimeDateTime FormatDateTime.MinValueDateTime.MonthDateTime.NowDateTime.ParseDateTime SubtractDateTime.TodayDateTime.TryParseDateTimePickerDayOfWeekDebug.WritedecimalDecompress GZIPdefaultDefaultIfEmptydelegatedescendingDestructorDictionaryDictionary Binary FileDictionary EqualsDictionaryEntryDirectiveDirectoryDirectory.CreateDirectoryDirectory.GetFilesDirectory SizeDistinctDivideDivide, Powers of TwoDivideByZeroExceptionDllImport, DllexportDnsdodoubleDriveInfoDuplicate CharsDuplicate WordsDuplicatesdynamicElementAtOrDefaultenumenum Arrayenum FlagsEnum.FormatEnum.GetNameEnum.Parseenum ToStringEnumerable.RangeEnvironmenteventEvery Nth ElementExcelExceptExceptionexplicit, implicitExtensionexternFactory PatternFeet, InchesFibonacci SequenceFileFile.CopyFile.DeleteFile EqualsFile.ExistsFile.MoveFile.OpenFile.ReadAllBytesFile.ReadAllLinesFile.ReadAllTextFile.ReadLinesFile.ReplaceFileInfoFileInfo LengthFilename, DateTimeFileNotFoundExceptionFileStreamFileSystemWatcherfinallyFirstFirst WordsFirstOrDefaultFisher-Yates ShufflefixedFlatten Arrayfloatforforeachforeach ListFormatFromOADateFuncGC.CollectGenericGetDirectoryNameGetEnumeratorGetHashCodeGetTypeGlobal VariablegotogroupGroupByGroupJoinGuidGZipStreamHashMapHashSetHashtableHtmlEncodeHtmlTextWriterHttpClientHttpUtilityHybridDictionaryIComparableIDictionaryIEnumerableIEqualityComparerifif, switchILIListImageIncrementIncrement String NumberIndexerIndexOfIndexOfAnyIndexOutOfRangeExceptionInitialize ArrayInitialize ListInsertintint Arrayint.MaxValueInt16, Int32, Int64Integer Digit CountinterfaceInterlockedIntersectInvalidCastExceptionInvalidOperationExceptionIOExceptionIOrderedEnumerableisIsFixedSizeIsNullOrEmptyIsSortedJagged ArraysjoinJsonKeyNotFoundExceptionKeyValuePairLambdaLastIndexOfLastOrDefaultLazyletLevenshteinLine CountLinkedListListList AddList AddRangeList ClearList ContainsList CopyToList EqualsList Find, ExistsList InsertList RemoveListDictionarylocklongLoop Over CharsLoop, String ArrayMain argsMapMathMath.AbsMath.CeilingMath.FloorMath.Max, MinMath.PowMath.RoundMath.TruncateMax, MinMazeMemoizationMemoryFailPointMemoryMappedFileMemoryStreamModuloMultidimensional ArrayMultiMapMultiple LocalsMultiple Return ValuesMultiplyMutexNamed ParametersnamespaceNameValueCollectionNested ListnewNewLineNormalizeNotImplementedExceptionnullnull ArrayNull Coalescingnull Listnull StringsNullableNullReferenceExceptionNumber Wordsobjectobject Arrayobject.ReferenceEqualsObsoleteOdbcConnectionOdd, EvenOfTypeoperatorOptional ParametersOr, BitwiseorderbyOrderByDescendingoutOutOfMemoryExceptionOverflowExceptionOverloadoverridePadRight, PadLeftPalindromeParagraph HTMLParallel.ForParallel.InvokeParametersparamsParsepartialPathPath.ChangeExtensionPath ExistsPath.GetExtensionPath.GetRandomFileNamePercentagePIPingPNG, WEBPPoint, PointFPredicatePretty DatePrime NumberProcessPropertyprotected, internalProtection Proxypublic, privatePunctuationQueryableQueueRandomRandom Lowercase LetterRandom ParagraphsRandom StringReadLinereadonlyReadOnlyCollectionrecordRecursionRecursive File ListrefReflectionRegexRegex.EscapeRegex FileRegex GroupsRegex.MatchesRegex.Matches, QuoteRegex.ReplaceRegex.Replace String EndRegex.Replace NumbersRegex.Replace SpacesRegex.SplitRegex.Split NumbersRegex TrimRegexOptions.CompiledRegexOptions.IgnoreCaseRegexOptions.MultilineRemoveRemove CharRemove ElementRemove HTMLRemoveAllReplaceReserved FilenamesreturnReverseReverse StringReverse WordsRightRNGCryptoServiceProviderROT13Scraping HTML LinkssealedSeekSelectSelect Caseselect newSelectManySequenceEqualSerialize ListSet BitShiftshortShuffle ArraySingle, DoubleSingleOrDefaultSizesizeofSkip, SkipWhileSleepSnippetsSortSort DateTime ListSort DictionarySort Files, SizesSort Ignore Lead CharsSort KeyValuePair ListSort ListSort Number StringsSort Strings, LengthSortedDictionarySortedListSortedSetSpanSpinWaitSplitSqlClientSqlCommandSqlCommandBuilderSqlConnectionSqlDataAdapterSqlDataReaderSqlParameterSqrtStackstackallocStackOverflowExceptionStartsWith, EndsWithstaticstatic Arraystatic Dictionarystatic Liststatic Regexstatic StringStopwatchStreamStreamReaderStreamReader ReadToEndStreamReader ReadToEndAsyncStreamWriterString AppendString CharsString Comparestring.ConcatString Constructorstring.CopyString CopyTostring.EmptyString EqualsString forstring.InternString InterpolationString IsUpperstring.JoinString LengthString ListString LiteralString Occurrence CountString SliceString switchStringBuilderStringBuilder EqualsStringBuilder ToStringStringComparisonStringDictionaryStringReaderStringWriterstructSubstringSuffixSumSwapswitchswitch charswitch enumSystemTake, TakeWhileTaskTernary OperatorTextFieldParserTextInfoTextReaderTextWriterthisThread JoinThreadPoolThreadStartthrowTimerTimeSpanTimeZoneTitle HTMLToArrayToBase64StringToCharArrayToDictionaryTODO CommentsTokenToListToLookupToLowerToStringToTitleCaseTreeTrimTrimEnd, TrimStarttrueTruncate StringtryTryGetValueTupleTypeTypeInitializationExceptiontypeofUnionUnreachableunsafeUppercase First LetterUriusingusing AliasvalueValueTupleValueTypevarVariable InitializervirtualvoidvolatileWeakReferenceWebClientwherewhileWhitespaceWordWord CountXElementXmlReaderXmlTextReaderXmlTextWriterXmlWriterXORyieldZipZipFile
F#
ArrayConvertdictdowncast, upcastDuplicatesfailwithFileforfunif, elifIndexOfletListmatchMathMeasureOdd, EvenOptionprintfnRecordRecursionReplaceROT13SeqsortSplitStringTupletype
Go
2D SliceArraybase64Between, Before, Afterbitsbufio.ScanBytesbytes.BufferbytesCaesar CipherchanCompressconstcontainer listContainsConvertConvert Map, SliceConvert Slice, StringConvert String, BoolConvert String, Rune SliceCopy FilecsvDuplicatesEqualEvery Nth ElementFibonacciFieldsFileFilename, dateFirst WordsflagfmtforFprintfuncHasPrefixhtml templatehttpifimageIndexinterfaceJoinJSONlenLinesListenAndServeLookup TablemapMap, String SlicesMathnilOdd, Evenos execos.Openos.RemovePaddingParseIntpathrandrangeRead Files, WaitGroupReadDirrecover, panic, deferRecursionRegexp FindRegexpRemove HTMLReplaceReverse StringROT13SliceSort File SizessortSplitSscan, SscanfString Literalstrings.Builderstrings.MapstructSubstringsuffixarrayswitchTimeToLower, ToUpperTrimunicode.IsSpaceWord CountWriteFile
Java
2D ArrayabstractAnagramArrayArray LengthArrayDequeArrayList add, insertArrayList clearArrayList, intArrayListASCII TableBetween, Before, AfterbinarySearchbitCountBitSetbooleanbreakBufferedWriterCaesar CipherCalendarcaseCastchar Arraychar Lookup TableCharactercharAtclassCollections.addAllCombine ArraysCommon ElementsCompound InterestConsoleConstructorcontinueConvert ArrayList, StringConvert boolean to intChar Array, StringConvert DegreesConvert HashMap, ArrayListConvert String, Byte ArrayCount Lettersdo-whiledoubledouble TruncateDuplicate CharsDuplicatesenumEnumMapEvery Nth ElementextendsFactory PatternFibonacciFileFilename DateFiles.CopyfilterfinalFindFirst WordsfloatforformatgcHashMapHashSetHashtableifImmutableListindexOfInitialize ArrayListint ArrayInteger, maxinterfaceisEmptyjoinJoinerLambdalastIndexOflengthLine CountLinkedHashMapListMultimapMath.absMath.ceilMath.floorMathMath.maxMath.powMath.roundMethodModuloMultiple Return ValuesNewlineObject ArrayObjectsOdd, EvenOptionalOverloadpackagePaddingPalindromeparseIntPrime NumberPriorityQueueProcessRandomRandom Lowercase LetterRangeRecursionreflectRegexregionMatchesRemove HTMLreplacereturnReverse StringRightROT13ShuffleSort HashMapsortsplitSplittersqrtStackStackOverflowErrorstartsWith, endsWithstatic InitializerstaticStreamString ArrayString compareToString ConcatString equalsString OccurrenceString switchStringBufferStringBuilderStringTokenizersubstringSumsuperswitchTernary OperatorthistoCharArraytoLowerCaseTreeTreeMaptrimTruncate StringtryUppercase First LetterURLvalueOf StringVectorwhileWhitespaceWord Count
JavaScript
ArrayBenchmarkcharAtConcatencodeURIEqualsforfunctionindexOfInitialize ArrayInt32ArrayJSONLinked ListLookup TableMultiple ReturnsObjectparseIntreplacesortsplitSubstringswitchtoLowerCasetypeof
MongoDB
create indexCursordatetimefindfind oneLimitMongoClientsort
PHP
arrayConcatcount charsDateTimeenumEvery Nth ElementFileforeachfunctionGeneratorif, elseifLoop CharsParse, intReferencesortSplitString ListSubstringswitchtrimUppercase
Python
2D Array2D ListabsAnagramanyarrayasciiASCII TableassertasyncioBetween, Before, AfterboolbytesclassclassmethodCompound InterestConsole, printConvertCopy ListCounterCSVdatetimedefdeldictDictionarydivmodDuplicatesenumerateErrorEvery Nth ElementFibonacciFileFilename, DatefilterfindforformatfrozensetGeneratorglobals, localsgzipifimportinIndentationErrorindexintisalnumiteritertoolsjoinjsonKeyErrorlambdalenList ComprehensionListlower, uppermapmath.floormathmax, minMazeMemoizeNamedtupleNonenonlocal, globalnotNumbersNumPyord, chrPaddingPalindromepassPathpowPrime Numberpunctuationrandomrangere.match, searchreadlineRecursionRemove HTMLreplaceResize ListreturnReverse StringRightROT13roundsetSlicesortsplitstartswithString EqualsString ListString LiteralsStringIOstripsub, subnsubprocessSubstringSumSyntaxErrorTextwraptimeittranslateTruncate StringTupletypewhileWord Countzip
Ruby
2D ArrayArrayBetween, before, aftercasechomp, stripclassConcatConsoleConvertCopy ArraycountDateTimeDuplicateseach char, each lineExceptionFibonacciFileFormatHashifincludeindex, rindexinsert, deleteIteratorjoinljust, rjustMathMethodnilNumbersrandRecursionRegexpreverseSetsortsplitString ArrayString LengthString Literalsub, gsubSubstringupcase, downcasewhile, until
Rust
AnyArcArray, vecsAtomicUsizeBetween, Before, AfterBitwise Operatorsbool FunctionBoxBTreeMapCannot BorrowCastChunks, threadcollectCombine HashMap KeysCommandConcatConsole Colorsconst fnConst GenericscontainsConvert Bool, IntConvert BytesConvert HashMap, veccopy from sliceCount CharactersDebugdedup Vectorenumenv argsEvery Nth Elementextend from sliceFile createFilefillfindFirst Wordsfnfor eachforget uncheckedHashMapifInitialize Arrayinto boxed sliceinto iteriterjoinlinesLookup u8Loop charsmapmatchMultiple Return ValuesmutMutexNested vecOnceCellOnceLockOptionOut ParameterPackedparsePercentageprintlnpush u8 VecRc, RefCellRead BytesRead dirRemove HTMLremovereplaceResultReverse StringROT13size ofskip, takeSort HashMapsortsplitstarts withstdinString ArrayString LengthString newstructSubstringswapsyncto lowercaseto ownedtrait, impltransmute copyTupleUppercase FirstusizeVec EqualsvecWord Countwrapping add
Scala
2D ListArrayclassConvertdefDuplicatesExceptionforformatifindexOfInitialize ListIntListMapmatchOdd, EvenOptionprintlnRangeRecursionRegexSetSlicesortedsplitStringStringBuilderStripTuplevar, valVector
Swift
2D ArrayappendArray, DictionariesArrayASCII TableCaesar CipherclassCombine ArraysConvert Int to CharacterConvert String, BytesConvertDateDictionaryDuplicatesenumErrorEvery Nth ElementextensionFibonacciFileFind StringsFirst WordsforfuncguardhasPrefixifInitialize ArraysinoutIntisEmptyJoinLengthLowerMathOdd, EvenoperatorOptionalpaddingprintPropertyRandomRangeRecursionRemove HTMLrepeatReplaceReverse StringROT13SetSort DictionarysortSplitString LiteralsStringstructSubscriptSubstringswitchTrimTuplevarWord Count
VB.NET
2D ArrayAddressOfAlphanumeric SortArray.CopyArray.FindArray.IndexOfArray.ResizeArray.ReverseArrayArrayListAsync, AwaitAttributeBenchmarksBetween, Before, AfterBinaryReaderBinarySearch ListBinaryWriterBooleanByte ArrayByteByVal, ByRefCastChar ArrayCharChooseChrClassCompressConsoleConstContainsConvert ArrayList, ArrayChar Array, StringConvert Dictionary, ListConvert List, ArrayConvert List, StringConvert String Array, StringConvert String, Byte ArrayConvert String, IntegerCStrDataColumnDataRow FieldDataRowDataSetDataTable SelectDataTableDateTime FormatDateTime.NowDateTime.ParseDateTimeDecimalDictionaryDirectiveDo UntilDo WhileDoubleDuplicate CharsDuplicatesEnum.Parse, TryParseEnumEnumerable.RangeEventEvery Nth ElementExcelExceptionExitExtension MethodFibonacci SequenceFile.CopyFile.ExistsFile ExtensionFile.ReadAllTextFile.ReadLinesFile SizeFileFilename, DateTimeFor Each, ForFormatFuncFunctionGoToHashSetHashtableHtmlEncodeHtmlTextWriterHttpClientIComparableIEnumerableIf ThenImageIndexOfInitialize ListInsertIntegerInterfaceIsNotIsNullOrEmptyIteratorJoinKeyValuePairLambdaLastIndexOfLevenshteinLINQList Find, ExistsListLoop Over StringLSet, RSetLTrim, RTrimMath.AbsMath.Ceiling, FloorMath.Max, Math.MinMath.RoundMath.TruncateMid StatementModModuleMultiple Return ValuesMustInheritNamespaceNewLineNothingNullableNumbersObject ArrayOptionalPadLeft, PadRightParamArrayParsePathProcessPropertyPunctuationQueueRandom Lowercase LetterRandom StringRandomReDimRegex FileRegex.MatchesRegex.ReplaceRegex.SplitRegex.MatchRemove HTMLRemoveReplaceReverse StringROT13Select CaseSharedShellSleepSort DictionarySort Files, SizeSort ListSort Number StringsSortSortedListSortedSetSplitSqrtStackStartsWith, EndsWithStopwatchStreamReader ReadToEndStreamReaderStreamWriterString.CompareString.ConcatString ConstructorString.Copy, CopyToString.EmptyString.EqualsString LengthStringBuilderStructureSubSubstringSyncLockTextInfoThreadPoolTimerTimeSpanTimeZoneToArrayToCharArrayToListToLowerToStringToTitleCaseTrimTrimEnd, TrimStartTruncate StringTupleUppercase FirstVal, AscVarTypeWebClientWithWithEventsWord CountXElementXmlReaderXmlWriterZipFile
WPF
BorderButtonCalendarCanvasCheckBoxComboBoxDataGridDatePickerDockPanelDoubleAnimationEllipseExpanderGridGroupBoxHorizontalAlignmentImageIsEnabledKeyDownLabelListViewMenuNamePasswordBoxProgressBarRadioButtonRectangleRenderTransformScrollViewerSliderStackPanelTabControlTextBoxToolBarToolTipTreeViewViewboxWebBrowserWindowsFormsHostWrapPanel
Website
7-Zip Command Linecons car cdr cadrPrivacy Policy
WinForms
BackgroundWorkerBackgroundWorkerButtonButtonChartCheckBoxCheckedListBoxColorDialogComboBoxControlCustomized Dialog BoxDataGridViewDataGridView Add RowsDataGridViewDataGridViewDataSourceDialogResultDomainUpDownEventLogFolderBrowserDialogFontFontDialogFormImageListInitializeComponentKeyCodeLabelLinkLabelListBoxListViewMaskedTextBoxMenuStripMessageBoxMessageBoxMonthCalendarNotifyIconOpenFileDialogOpenFileDialogPictureBoxPosition WindowsPreviewKeyDownProgressBarPropertyGridRadioButtonRichTextBoxSaveFileDialogSettings.settingsStatusStripTagTextTextBoxTextBox.AppendTextTextBoxTextChangedToolTipTrackBarTreeViewWebBrowser
Dot Net Perls is a collection of tested code examples. Pages are continually updated to stay current, with code correctness a top priority.
Sam Allen is passionate about computer languages. In the past, his work has been recommended by Apple and Microsoft and he has studied computers at a selective university in the United States.
No updates found for this page.
Home
Changes
© 2007-2023 Sam Allen.