What namespace does StringBuilder belong to?
I typed:
using System.Text.StringBuilder;
But the intellisense, won’t let me type StringBuilder.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Its very easy to determine in which namespace .NET class lives. you have two ways:
Inheritance Hierarchysection you can see FULL class name. Full class name means that before class name would be its namespace. For StringBuilder full class name would face asSystem.Text.StringBuilder. Just omit class name (StringBuilder) and you get namespaceI always use second way, because its more easy for me.