---
title: "What is the difference between string keyword and System.String class?"  
description: "What is the difference between string keyword and System.String class?"  
author: "Sumit Kesarwani"  
published: 2013-11-13  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/1819/what-is-the-difference-between-string-keyword-and-system-string-class  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is the difference between string keyword and System.String class?

String keyword is an alias for System.String class. Therefore, System.String and string keyword are the same, and you can use whichever naming convention you prefer. The String class provides many methods for safely creating, manipulating, and comparing strings.

## Answers

### Answer by Sumit Kesarwani

String keyword is an alias for System.String class. Therefore, System.String and string keyword are the same, and you can use whichever naming convention you prefer. The String class provides many methods for safely creating, manipulating, and comparing strings.


---

Original Source: https://www.mindstick.com/interview/1819/what-is-the-difference-between-string-keyword-and-system-string-class

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
