© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
56 replies
FSHF

clone

Instead of removing last number i would like to clone, how?
        private void btnpocl(object sender, EventArgs e)
        {

            if (ccal.Length > 0)
            {
                ccal = ccal.Remove(ccal.Length - 1, 1);
            }

            txtbout.Text = ccal;
        }
        private void btnpocl(object sender, EventArgs e)
        {

            if (ccal.Length > 0)
            {
                ccal = ccal.Remove(ccal.Length - 1, 1);
            }

            txtbout.Text = ccal;
        }
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Clone
C#CC# / help
2y ago
Sharplab Clone Prototype
C#CC# / help
9mo ago
❔ Deep clone variable
C#CC# / help
3y ago
Next page