CSharp.codeHinter

CSharp.codeHinter

Selecting a term shows the hint.

Reading a C# tutorial or taking a C# class or course? Select a term like class on a tutorial or reference page to see what it means right where you’re reading.

A term is a language keyword such as if, an operator such as =, or another piece of code the extension recognizes.

  1. Select a termFor a term like “is not”, select both words together. The text you selected will be highlighted.

    Double-click a single word. For an operator or a term with more than one word, drag across the whole term.

  2. Read the hint

    The popup shows a description, an example, and a reference link.

The More… button at the bottom of the hint is “Show-in-context ↗” link. More if you need it.

All reserved keywords (77). Contextual keywords (48). Operator and punctuation spellings (52). Preprocessor directives (15). With examples.

Example:

Selected termrecord

Select a C# term on a webpage, including in GitHub source, and read the hint in place. Press Escape to close it. Jump to the keyword table.

Coverage follows Microsoft’s keyword list through C# 15. Examples are short fragments. Some require surrounding code or a newer compiler.

Quality control

All 200 C# examples compile in their test cases. Each test compiles the exact popup example with any surrounding code it needs, using the C# 15 compiler in .NET SDK 11.0.100.

Sources

Microsoft Learn C# keywords · Operators and expressions · Preprocessor directives

Open a C# source file on GitHub and select a term where you’re reading.

The first Hinter

C# was the first Hinter. The earliest dated source note is July 14, 2019. An October 9, 2020 archive contains version 0.0.104.

Privacy & Data

One $2.99 USD payment removes the reminder across all CodeHinters. Use Already paid? and the same purchase email to activate another edition.

We collect no data from hint lookups. Your selected text stays in Chrome, and hints come from the reference catalog bundled with the extension.

Chrome keeps your hint count, first- and last-use times, and up to three days you used a Hinter locally. That’s how it knows when to nag you.

Opening a More… link takes you to the reference site. ExtensionPay uses an installation identifier to check purchase status and handles optional checkout.

C# example tables

With CodeHinters enabled, click a term to see its hint. Use the arrow keys to move between terms. Double-click a term or press Shift+Enter on a focused term to open its primary Show-in-context ↗ reference, even without the extension.

Keyword table

Click a keyword for its hint with the extension enabled. Double-click to open its reference, even without the extension.

Reserved keywords (77)

abstractasbaseboolbreak
bytecasecatchcharchecked
classconstcontinuedecimaldefault
delegatedodoubleelseenum
eventexplicitexternfalsefinally
fixedfloatforforeachgoto
ifimplicitinintinterface
internalislocklongnamespace
newnullobjectoperatorout
overrideparamsprivateprotectedpublic
readonlyrefreturnsbytesealed
shortsizeofstackallocstaticstring
structswitchthisthrowtrue
trytypeofuintulongunchecked
unsafeushortusingvirtualvoid
volatilewhile

Contextual keywords (48)

addaliasallowsandargs
ascendingasyncawaitbyclosed
descendingdynamicequalsextensionfield
filefromgetglobalgroup
initintojoinletmanaged
nameofnintnotnotnullnuint
onororderbypartialrecord
removerequiredscopedselectset
unionunmanagedvaluevarwhen
wherewithyield

Punctuation (9)

(),:;
[]{}

Other syntax forms (6)

$()?.?:?[
@

Reference terms (1)

cast

Library terms (1)

WriteLine

Preprocessor directives (15)

#define#elif#else#endif#endregion
#error#if#line#nullable#pragma
#pragma checksum#pragma warning#region#undef#warning

Operators (43)

!!=%%=&
&&&=**=+
+++=----=
->...//=
::<<<<<=<=
====>>>=
>>>>=>>>>>>=?
????=^^=|
|=||~