Hi Venkat, I am just happy with all the learning of concept till date, but i request you to upload video on programming, i mean to have strong knowledge on programming, like Array programs, String manipulation programs, rest of the programs usally asked in interview t evalvate person programming knowledge and please help to make video on how to understand call stack and debugging from scratch, it would be really help full Venkat Thanks
can we use this code it is very simple also.... please describe difference between both the codes static void Main(string[] args) { Console.WriteLine("Enter a sentence"); string s = Console.ReadLine(); string[] a = s.Split(' '); Array.Reverse(a); Console.WriteLine("after reverse your sentence you get:"); for(int i=0;i
i was given a project about the human resource management. there are many employees in an IT company. one of them is a programmer whose have attributes :: programming language and hava a behaviour of code, fix, and bugs. now i don't understand how to write a program for this.can you show me a sample solution for this one plzzzzzzz.
Alternative method: string inputString = "One Two Three Four Five"; var InPutArray= inputString.ToCharArray(); Array.Reverse(InPutArray); var joinedString = string.Join("", InPutArray);
along with each word, you're reversing the word too that's not the requirement , we should only reverse the character in each string not reversing the word...,
Thank you for your videos sir, i got job becuase of your video before 5 years. Thank you. am telling my friends to watch your videoS :). tHANKS AGAiN:). hOPE YOU WLL REPLY.
Consider a string like *** string word = " Company is Great" *** Make a program that will convert the string array to be like Great is Company ......Please Make a Video on this...
+mahipal kamanchi loop through the whole string wherever space is encountered add that to string variable temp using for loop. Add that temp to Arraylist using Add().//eg al.add(temp); We require 2 foreach loop one for string and another for character. Use outer foreach loop to get every Splitted string from ArrayList. Inside outer foreachloop initialize a string variable str1=""; Add inner foreach loop to get character from every splitted string. Save every character in str1. Outside inner foreach loop concat str1 to another string variable strrev and append space. rev = rev + str1 + " "; Print rev outside outer foreach loop.
hello, i am trying to reverse words in input text on unity, i am working with c#. i get an error when i write Select, it doesnt seem to recognize this. i dont use to write those clasess aswell, i tryed to write it but it doesnt make sense because i use already in a class that inheritor from other class. can someone please help?
ERROR : Severity Code Description Project File Line Suppression State Error CS1503 Argument 2: cannot convert from 'System.Collections.Generic.IEnumerable' to 'string[]'
+Siva Balan same here....but in my case it was like ( Make a program that will convert the string array to be like Company is great to Great is Company )
very interesting
wow...fantastic code. Thank you very much sir. You are a great teacher
Nice Tutorial.
Good tutorials...explanation is very clear...
thanks brother
I prefer to use a foreach loop. It's more readable and understandable.
Thank You Sir
Hi Venkat,
I am just happy with all the learning of concept till date, but i request you to upload video on programming, i mean to have strong knowledge on programming, like Array programs, String manipulation programs, rest of the programs usally asked in interview t evalvate person programming knowledge and please help to make video on how to understand call stack and debugging from scratch, it would be really help full Venkat
Thanks
outclass man
Reading the signature of C# is always a challenge to me.
Can we store image in session??? This was the question which I faced in an interview
great code
Sir, what is the real usage of string reverse operations. Please give an example.
can we use this code it is very simple also.... please describe difference between both the codes
static void Main(string[] args)
{
Console.WriteLine("Enter a sentence");
string s = Console.ReadLine();
string[] a = s.Split(' ');
Array.Reverse(a);
Console.WriteLine("after reverse your sentence you get:");
for(int i=0;i
i was given a project about the human resource management. there are many employees in an IT company. one of them is a programmer whose have attributes :: programming language and hava a behaviour of code, fix, and bugs. now i don't understand how to write a program for this.can you show me a sample solution for this one plzzzzzzz.
also, great style of indenting lines when using the LINQ Dot operators, makes the code more readable... (beast Mode)
Alternative method:
string inputString = "One Two Three Four Five";
var InPutArray= inputString.ToCharArray();
Array.Reverse(InPutArray);
var joinedString = string.Join("", InPutArray);
along with each word, you're reversing the word too that's not the requirement , we should only reverse the character in each string not reversing the word...,
How to sort strings like this???
Mr kudvenkat can u write the program for, how many times repeated the same words in a given statement?
Sir if my ID is like N001,N002... and I want to print all ID once but per ID per page how to loop or what is the easy method in c# using visual studio
Thank you for your videos sir, i got job becuase of your video before 5 years. Thank you. am telling my friends to watch your videoS :). tHANKS AGAiN:). hOPE YOU WLL REPLY.
I have the same task but i need to ignore numbers, what to write in code to ignore numbers?
Consider a string like *** string word = " Company is Great" *** Make a program that will convert the string array to be like
Great is Company ......Please Make a Video on this...
+Ali Hassan string inp="company is great";
string [] spstr=inp.Split(' ');
Array.Reverse(spstr);
string resullt =String.Join(" ", spstr);
Console.WriteLine(resullt);
+Mayank Pant thanks...it was very easy with linq
Ok...i wanna learn linq
+Ali Hassan string reversestr = string.Join(" ", inp.Split(' ').Reverse().ToArray());
how we can do this same using without any built functions of c# sir please help me ?
+mahipal kamanchi
loop through the whole string wherever space is encountered add that to string variable temp using for loop.
Add that temp to Arraylist using Add().//eg al.add(temp);
We require 2 foreach loop one for string and another for character.
Use outer foreach loop to get every Splitted string from ArrayList.
Inside outer foreachloop initialize a string variable str1="";
Add inner foreach loop to get character from every splitted string.
Save every character in str1.
Outside inner foreach loop concat str1 to another string variable strrev and append space. rev = rev + str1 + " ";
Print rev outside outer foreach loop.
+Jay Fatiya
thank u
Sir, What is the use of Static Class?? Plz.. reply this Question and also make a video for this question.........This question ask me on interview...
Thank you very much, this is very helpful! :-)
can you please explain dependcy injection in C# with examples?
Hii sir..
Can U Give some idea for Get Multiple Computer drive info in one single Console application in single window
hello, i am trying to reverse words in input text on unity, i am working with c#. i get an error when i write Select, it doesnt seem to recognize this. i dont use to write those clasess aswell, i tryed to write it but it doesnt make sense because i use already in a class that inheritor from other class. can someone please help?
ERROR :
Severity Code Description Project File Line Suppression State
Error CS1503 Argument 2: cannot convert from 'System.Collections.Generic.IEnumerable' to 'string[]'
what is split
if select doesnt work, then write this on top of file: using system.Linq;
how to reverse only half string like
input = "HelloFriends"
output = "HellosdneirF" or "sdneirFHello"
how to write a program that counts the number of string. the sentecne ends with dot(.). or ! mark or a question mark
somebody write this progarm
i am rejected for one interview in this task ........
+Siva Balan same here....but in my case it was like ( Make a program that will convert the string array to be like
Company is great to Great is Company )
Could somebody please tell me how to reverse the order of words in given string?
+Ashish Singh
string result = "";
string num = "One,Two,Three,Four";
string[] theNums = num.Split(',');
Array.Reverse(theNums);
result = string.Join(" ", theNums);
LabelResult2.Text = result;
+Andre Curry thanks alot 😊😊
print no duplication elements in array & string
give me job please
Sometime you are so slow that it waste our time.