# Operators in c# with example

Up to this we are familiar with variables and variable types in c#. we learnt different types of variables such as integer type variable, string type variable and float and double type variable in our previous asp.net post.

## C# Operators

Operator are used to perform mathematical or logical operation on variable.
Operator is a symbol that perform specific mathematical or logical operation on variable in any programming language.
For calculate the value of variable we have to use proper expression the expression are made using operators in c#.

## List of C# Operators

• Arithmetic Operators
• Logical Operators
• Relational or Comparison Operators
• Assignment Operators

Related ASP.Net Topics :

Subscribe us

If you liked this asp.net post, then please subscribe to our YouTube Channel for more asp.net video tutorials.

We hope that this asp.net tutorial helped you to understand about operators in C#.

Next asp.net tutorial we will learn all operators one by one in detail.Arithmetic Operators.
{"ft_lang_label":"__label__en","ft_lang_prob":0.84500235,"math_prob":0.8440726,"size":1057,"snap":"2022-40-2023-06","text_gpt3_token_len":208,"char_repetition_ratio":0.18518518,"word_repetition_ratio":0.012345679,"special_character_ratio":0.18543047,"punctuation_ratio":0.10526316,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9647343,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-09-29T14:38:48Z\",\"WARC-Record-ID\":\"<urn:uuid:bdc36cf3-0ee5-46e6-8d63-3ab78e494486>\",\"Content-Length\":\"49713\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:50040f80-4afb-448f-b5d8-f72cfa5df3c9>\",\"WARC-Concurrent-To\":\"<urn:uuid:3e368686-348f-44c9-b049-53bebc1a8080>\",\"WARC-IP-Address\":\"107.180.41.254\",\"WARC-Target-URI\":\"https://meeraacademy.com/operators-in-c-with-example/\",\"WARC-Payload-Digest\":\"sha1:CYKY76KSQUZRGBFXNATHIVLO5KT2KS2J\",\"WARC-Block-Digest\":\"sha1:MHVXVHNIISWROOHFKEEMGM2RXCPCTOHO\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-40/CC-MAIN-2022-40_segments_1664030335355.2_warc_CC-MAIN-20220929131813-20220929161813-00436.warc.gz\"}"}