Focus video player for keyboard shortcuts
Auto
- HD
- 720p
- 540p
- 360p
1.00x
cc
- 0.50x
- 0.75x
- 1.00x
- 1.25x
- 1.50x
- 1.75x
- 2.00x
We hope you enjoyed this lesson.
Cool lesson, huh? Share it with your friends
About this lesson
In this lesson, we discuss how to convert Integers to Strings using the toString method.
Exercise files
Download this lesson’s related exercise files.
Converting Integers To Strings61.1 KB Converting Integers To Strings - Solution
58.4 KB
Quick reference
Converting Integers To Strings
It's easy to convert an integer to a string using the .toString() method.
When to use
Use this method whenver you need to convert an integer to a string.
Instructions
int x = 41;
string y;
y = x.ToString();
Lesson notes are only available for subscribers.